WSF
UtPackBasicType Class Referencefinal

A basic type defined in the schema. More...

#include <UtPackSchema.hpp>

Inheritance diagram for UtPackBasicType:
Collaboration diagram for UtPackBasicType:

Public Member Functions

 UtPackBasicType (UtPackType &aParent)
void Read (UtmlObject &aInput)
const std::string & GetCPP_Type () const
int GetSize () const
Public Member Functions inherited from UtPackType
 UtPackType (const UtPackType &)=delete
UtPackTypeoperator= (const UtPackType &)=delete
virtual ~UtPackType ()=default
const std::string & GetTypeName () const
std::string GetTypePath () const
 Returns the full path to the type, with '.' as a separator. example: "Track.TrackId".
UtPackTypeFindType (const std::string &aTypeName)
const UtPackTypeFindType (const std::string &aTypeName) const
virtual void Resolve ()
Encoding GetEncoding () const
bool IsStruct () const
bool IsUnion () const
bool IsBasicType () const
bool IsEnum () const
bool IsList () const
const NestedTypesListGetNestedTypes () const

Additional Inherited Members

Public Types inherited from UtPackType
enum  Encoding {
  cENC_NONE , cENC_LITTLE_ENDIAN , cENC_VAR_BYTES , cENC_BIT ,
  cENC_STRUCT , cENC_LIST
}
using NestedTypesList = std::vector<std::pair<std::string, std::unique_ptr<UtPackType>>>
Protected Member Functions inherited from UtPackType
const UtPackTypeFindTypeP (const std::string &aTypeName) const
 UtPackType (UtPackType *aParentTypePtr)
const UtPackTypeGetRootType () const
UtPackTypeGetRootType ()
UtPackSchemaGetSchema () const
void Read (UtmlObject &aInput)
void ReadNestedTypes (UtmlObject &aInput)
Protected Attributes inherited from UtPackType
Encoding mEncoding
UtPackTypemParentType
std::string mTypeName
NestedTypesList mNestedTypes

Detailed Description

A basic type defined in the schema.

Constructor & Destructor Documentation

◆ UtPackBasicType()

UtPackBasicType::UtPackBasicType ( UtPackType & aParent)

Member Function Documentation

◆ GetCPP_Type()

const std::string & UtPackBasicType::GetCPP_Type ( ) const

◆ GetSize()

int UtPackBasicType::GetSize ( ) const
inline

◆ Read()


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved