Public Member Functions | |
void | AddMetadata (Dtk_MetaDataPtr inChild) |
Add a metadata to this Group. More... | |
Dtk_MetaDataGroup (Dtk_string inGroupName) | |
\Create MetaDataGroup More... | |
Dtk_Int32 | DtkDynamicType (const Dtk_Int32 &inId) |
Retrieves the dynamic entity type. More... | |
virtual int | DtkDynamicType (const int &inId)=0 |
virtual void | dump (FILE *file=stdout) |
const Dtk_string | GetGroupName () |
Get the group name. More... | |
const Dtk_tab< Dtk_MetaDataPtr > & | GetListOfMetadatas () const |
Get the list of metadata of the MetaDataGroup. More... | |
Dtk_MetaDataPtr | GetMetaData (const Dtk_Size_t &inPos) |
Get the inPos'th metadata of the Group. More... | |
const Dtk_Size_t | GetNumMetaData () const |
Get the number of metadatas in the Group. More... | |
virtual Dtk_Size_t | GetSize () const |
void | SetName (Dtk_string inGroupName) |
Set the group name. More... | |
virtual | ~Dtk_MetaDataGroup () |
Destructor. More... | |
Static Public Member Functions | |
static Dtk_MetaDataGroupPtr | CreateMetaDataGroup (Dtk_string inGroupName, Dtk_tab< Dtk_MetaDataPtr > inMetadataChildren=Dtk_tab< Dtk_MetaDataPtr >()) |
static Dtk_MetaDataGroup * | DtkDynamicCast (Dtk_Object *s) |
Performs a dynamic cast - doesn't need RTTI -. More... | |
Protected Types | |
enum | { _typeID = DTK_TYPE_OBJECT } |
enum | { _typeID = DTK_TYPE_METADATA_GROUP } |
Protected Member Functions | |
void | _copy (const Dtk_Object &s) |
void | _init () |
void | _reset () |
Protected Attributes | |
unsigned long | count_ |
Friends | |
class | Dtk_SmartPtr< Dtk_MetaDataGroup > |
Dtk_MetaDataGroup::Dtk_MetaDataGroup | ( | Dtk_string | inGroupName | ) |
\Create MetaDataGroup
|
virtual |
Destructor.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
void Dtk_MetaDataGroup::AddMetadata | ( | Dtk_MetaDataPtr | inChild | ) |
Add a metadata to this Group.
|
static |
|
static |
Performs a dynamic cast - doesn't need RTTI -.
Retrieves the dynamic entity type.
|
pure virtualinherited |
Implemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_TopologicalEntity, Dtk_MeshPolyline, Dtk_MeshSurface, Dtk_TransformedSurface, Dtk_FilletSurface, Dtk_OffsetSurface, Dtk_SphericalSurface, Dtk_ToroidalSurface, Dtk_ConicalSurface, Dtk_CylindricalSurface, Dtk_RuledSurface, Dtk_LinearExtrusionSurface, Dtk_StandardRevolutionSurface, Dtk_RevolutionSurface, Dtk_PlaneSurface, Dtk_NurbsSurface, Dtk_Surface, Dtk_Hyperbola, Dtk_Parabola, Dtk_Ellipse, Dtk_Conic, Dtk_Line, Dtk_Polyline, Dtk_NurbsCurve, Dtk_Curve, Dtk_Point, Dtk_Constraint, Dtk_ConstraintReference, Dtk_AxisSystem, Dtk_Preview, Dtk_Entity, Dtk_picture, Dtk_OverrideSet, Dtk_OverrideInfo, Dtk_MainDoc, Dtk_Component, Dtk_Node, Dtk_DocElement, Dtk_Log, and Dtk_Properties.
|
virtualinherited |
const Dtk_string Dtk_MetaDataGroup::GetGroupName | ( | ) |
Get the group name.
const Dtk_tab< Dtk_MetaDataPtr >& Dtk_MetaDataGroup::GetListOfMetadatas | ( | ) | const |
Get the list of metadata of the MetaDataGroup.
Dtk_MetaDataPtr Dtk_MetaDataGroup::GetMetaData | ( | const Dtk_Size_t & | inPos | ) |
Get the inPos'th metadata of the Group.
const Dtk_Size_t Dtk_MetaDataGroup::GetNumMetaData | ( | ) | const |
Get the number of metadatas in the Group.
|
virtualinherited |
Reimplemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_mesh_face, Dtk_mesh, Dtk_TransformedSurface, Dtk_FilletSurface, Dtk_OffsetSurface, Dtk_SphericalSurface, Dtk_ToroidalSurface, Dtk_ConicalSurface, Dtk_CylindricalSurface, Dtk_RuledSurface, Dtk_LinearExtrusionSurface, Dtk_StandardRevolutionSurface, Dtk_RevolutionSurface, Dtk_PlaneSurface, Dtk_NurbsSurface, Dtk_Surface, Dtk_Hyperbola, Dtk_Parabola, Dtk_Ellipse, Dtk_Conic, Dtk_Line, Dtk_Polyline, Dtk_NurbsCurve, Dtk_Curve, Dtk_Point, Dtk_Entity, and Dtk_Info.
void Dtk_MetaDataGroup::SetName | ( | Dtk_string | inGroupName | ) |
Set the group name.
|
friend |
|
protectedinherited |