|
WSF
|
#include <UtPackSchema.hpp>


Public Types | |
| 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>>> |
Public Member Functions | |
| UtPackType (const UtPackType &)=delete | |
| UtPackType & | operator= (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". | |
| UtPackType * | FindType (const std::string &aTypeName) |
| const UtPackType * | FindType (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 NestedTypesList & | GetNestedTypes () const |
Protected Member Functions | |
| const UtPackType * | FindTypeP (const std::string &aTypeName) const |
| UtPackType (UtPackType *aParentTypePtr) | |
| const UtPackType * | GetRootType () const |
| UtPackType * | GetRootType () |
| UtPackSchema * | GetSchema () const |
| void | Read (UtmlObject &aInput) |
| void | ReadNestedTypes (UtmlObject &aInput) |
Protected Attributes | |
| Encoding | mEncoding |
| UtPackType * | mParentType |
| std::string | mTypeName |
| NestedTypesList | mNestedTypes |
| using UtPackType::NestedTypesList = std::vector<std::pair<std::string, std::unique_ptr<UtPackType>>> |
| enum UtPackType::Encoding |
|
delete |
References UtPackType().
Referenced by FindType(), FindType(), FindTypeP(), GetRootType(), GetRootType(), GetSchema(), operator=(), UtPackStruct::Read(), UtPackUnion::Read(), UtPackBasicType::UtPackBasicType(), UtPackEnumType::UtPackEnumType(), UtPackListType::UtPackListType(), UtPackNamespace::UtPackNamespace(), UtPackStruct::UtPackStruct(), UtPackType(), UtPackType(), and UtPackUnion::UtPackUnion().
|
virtualdefault |
|
protected |
References cENC_NONE, mEncoding, mParentType, and UtPackType().
| UtPackType * UtPackType::FindType | ( | const std::string & | aTypeName | ) |
References UtPackType().
Referenced by UtPackSchema::FindType(), UtPackSchema::FindType(), and UtPackSerializer::Initialize().
| const UtPackType * UtPackType::FindType | ( | const std::string & | aTypeName | ) | const |
References FindTypeP(), and UtPackType().
|
protected |
References mNestedTypes, mParentType, and UtPackType().
Referenced by FindType().
|
inline |
References mNestedTypes.
|
protected |
References mParentType, and UtPackType().
|
protected |
References mParentType, and UtPackType().
Referenced by GetSchema().
|
protected |
References GetRootType(), UtPackNamespace::GetSchema(), and UtPackType().
| const std::string & UtPackType::GetTypeName | ( | ) | const |
References mTypeName.
| std::string UtPackType::GetTypePath | ( | ) | const |
Returns the full path to the type, with '.' as a separator. example: "Track.TrackId".
References mParentType, and mTypeName.
Referenced by UtPackStruct::Resolve(), and UtPackUnion::Resolve().
| bool UtPackType::IsBasicType | ( | ) | const |
| bool UtPackType::IsEnum | ( | ) | const |
| bool UtPackType::IsList | ( | ) | const |
| bool UtPackType::IsStruct | ( | ) | const |
| bool UtPackType::IsUnion | ( | ) | const |
|
delete |
References UtPackType().
|
protected |
References UtmlObject::GetValue(), mTypeName, and ReadNestedTypes().
Referenced by UtPackEnumType::Read(), UtPackListType::Read(), UtPackStruct::Read(), and UtPackUnion::Read().
|
protected |
References UtmlObject::GetObject(), UtmlObject::GetObjectCount(), mNestedTypes, and UtPackSchema::ReadType().
Referenced by UtPackNamespace::Read(), and Read().
|
virtual |
Reimplemented in UtPackEnumType, UtPackListType, UtPackStruct, and UtPackUnion.
References mNestedTypes.
Referenced by UtPackStruct::Resolve(), and UtPackUnion::Resolve().
|
protected |
Referenced by GetEncoding(), UtPackBasicType::Read(), UtPackBasicType::UtPackBasicType(), and UtPackType().
|
protected |
Referenced by FindTypeP(), GetNestedTypes(), ReadNestedTypes(), and Resolve().
|
protected |
Referenced by FindTypeP(), GetRootType(), GetRootType(), GetTypePath(), and UtPackType().
|
protected |