TypeDescriptor definition according to [standard] section 7.5.2.4. More...
#include <TypeDescriptor.hpp>
Public Types | |
| using | _ref_type = typename traits< TypeDescriptor >::ref_type |
Public Member Functions | |
| virtual TypeKind | kind () const =0 |
| Returns the TypeKind associated. | |
| virtual TypeKind & | kind ()=0 |
| Returns the TypeKind associated. | |
| virtual void | kind (TypeKind kind)=0 |
| Modifies the underlying TypeKind. | |
| virtual ObjectName & | name ()=0 |
| Returns the fully qualified name of this type. | |
| virtual const ObjectName & | name () const =0 |
| Returns the fully qualified name of this type. | |
| virtual void | name (const ObjectName &name)=0 |
| Modifies the underlying type name by copy. | |
| virtual void | name (ObjectName &&name)=0 |
| Modifies the underlying type name by move. | |
| virtual traits< DynamicType >::ref_type | base_type () const =0 |
| Returns a reference to the base type. | |
| virtual traits< DynamicType >::ref_type & | base_type ()=0 |
| Returns a reference to the base type. | |
| virtual void | base_type (traits< DynamicType >::ref_type type)=0 |
| Modifies the underlying base type reference. | |
| virtual traits< DynamicType >::ref_type | discriminator_type () const =0 |
| Returns a reference discriminator type. | |
| virtual traits< DynamicType >::ref_type & | discriminator_type ()=0 |
| Returns a reference discriminator type. | |
| virtual void | discriminator_type (traits< DynamicType >::ref_type type)=0 |
| Modifies the underlying discriminator type reference. | |
| virtual const BoundSeq & | bound () const =0 |
| Returns the bound. | |
| virtual BoundSeq & | bound ()=0 |
| Returns the bound. | |
| virtual void | bound (const BoundSeq &bound)=0 |
| Modifies the underlying bound by copy. | |
| virtual void | bound (BoundSeq &&bound)=0 |
| Modifies the underlying bound by move. | |
| virtual traits< DynamicType >::ref_type | element_type () const =0 |
| Returns a reference element type. | |
| virtual traits< DynamicType >::ref_type & | element_type ()=0 |
| Returns a reference element type. | |
| virtual void | element_type (traits< DynamicType >::ref_type type)=0 |
| Modifies the underlying element type reference. | |
| virtual traits< DynamicType >::ref_type | key_element_type () const =0 |
| Returns a reference key element type. | |
| virtual traits< DynamicType >::ref_type & | key_element_type ()=0 |
| Returns a reference key element type. | |
| virtual void | key_element_type (traits< DynamicType >::ref_type type)=0 |
| Modifies the underlying key element type reference. | |
| virtual ExtensibilityKind | extensibility_kind () const =0 |
| Returns the extensibility kind. | |
| virtual ExtensibilityKind & | extensibility_kind ()=0 |
| Returns the extensibility kind. | |
| virtual void | extensibility_kind (ExtensibilityKind extensibility_kind)=0 |
| Modifies the extensibility kind. | |
| virtual bool | is_nested () const =0 |
| Returns the is_nested property. | |
| virtual bool & | is_nested ()=0 |
| Returns the is_nested property. | |
| virtual void | is_nested (bool is_nested)=0 |
| Modifies the is_nested property. | |
| virtual ReturnCode_t | copy_from (traits< TypeDescriptor >::ref_type descriptor)=0 |
| Overwrites the contents of this descriptor with those of another descriptor (see [standard] 7.5.2.4.3). | |
| virtual bool | equals (traits< TypeDescriptor >::ref_type descriptor)=0 |
| Compares according with the [standard] section 7.5.2.4.6. | |
| virtual bool | is_consistent ()=0 |
| Indicates whether the states of all of this descriptor's properties are consistent according with the [standard] section 7.5.2.4.7. | |
Protected Member Functions | |
| TypeDescriptor ()=default | |
| TypeDescriptor (const TypeDescriptor &type)=default | |
| TypeDescriptor (TypeDescriptor &&type)=default | |
| virtual | ~TypeDescriptor ()=default |
TypeDescriptor definition according to [standard] section 7.5.2.4.
| using _ref_type = typename traits<TypeDescriptor>::ref_type |
|
protecteddefault |
|
protecteddefault |
|
protecteddefault |
|
protectedvirtualdefault |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Modifies the underlying base type reference.
| [in] | type | DynamicType reference. |
|
pure virtual |
Modifies the underlying bound by move.
| [in] | bound | BoundSeq |
|
pure virtual |
Modifies the underlying bound by copy.
| [in] | bound | BoundSeq |
|
pure virtual |
Overwrites the contents of this descriptor with those of another descriptor (see [standard] 7.5.2.4.3).
| [in] | descriptor | reference. |
| RETCODE_OK | when the copy was successful. |
| RETCODE_BAD_PARAMETER | when descriptor reference is nil. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Modifies the underlying discriminator type reference.
| [in] | type | DynamicType reference. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Modifies the underlying element type reference.
| [in] | type | DynamicType reference. |
|
pure virtual |
Compares according with the [standard] section 7.5.2.4.6.
| [in] | descriptor | reference to compare to. |
true on equality
|
pure virtual |
Returns the extensibility kind.
return ExtensibilityKind
|
pure virtual |
Returns the extensibility kind.
return ExtensibilityKind
|
pure virtual |
Modifies the extensibility kind.
| [in] | extensibility_kind | ExtensibilityKind |
|
pure virtual |
Indicates whether the states of all of this descriptor's properties are consistent according with the [standard] section 7.5.2.4.7.
true if consistent.
|
pure virtual |
Returns the is_nested property.
return Boolean
|
pure virtual |
Returns the is_nested property.
return Boolean
|
pure virtual |
Modifies the is_nested property.
| [in] | is_nested | Boolean value to be set. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Modifies the underlying key element type reference.
| [in] | type | DynamicType reference. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Returns the fully qualified name of this type.
|
pure virtual |
Returns the fully qualified name of this type.
|
pure virtual |
Modifies the underlying type name by copy.
| [in] | name | Fully qualified name. |
|
pure virtual |
Modifies the underlying type name by move.
| [in] | name | Fully qualified name. |