Dtk_KinNamedValue represents a named value. More...
Inheritance diagram for Dtk_KinNamedValue:Public Member Functions | |
| 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) |
| Dtk_status | Dump (FILE *inFile) |
| Write Dump file for named value. More... | |
| type_detk | get_type_detk () const |
| Dtk_string | getName () |
| Returns the name of the value. More... | |
| virtual Dtk_Size_t | GetSize () const |
| double | getValue () |
| Returns the value of the name. More... | |
| void | setName (Dtk_string inName) |
| Sets the name. More... | |
| void | setValue (double inValue) |
| Sets the value. More... | |
| Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) |
Static Public Member Functions | |
| static Dtk_KinNamedValuePtr | Create () |
| Calls default constructor to allocate a new object. More... | |
| static Dtk_KinNamedValue * | DtkDynamicCast (Dtk_Object *s) |
| Performs a dynamic cast - doesn't need RTTI -. More... | |
| static Dtk_KinNamedValuePtr | release (Dtk_KinNamedValuePtr inNamedValue) |
| Delete object. More... | |
Protected Types | |
| enum | { _typeID = DTK_TYPE_KIN_NAMED_VALUE } |
Protected Member Functions | |
| Dtk_KinNamedValue () | |
| Default constructor. More... | |
| Dtk_KinNamedValue (const Dtk_KinNamedValue &att) | |
| Copy constructor. More... | |
| ~Dtk_KinNamedValue () | |
| Destructor. More... | |
Protected Attributes | |
| Dtk_string | _name |
| double | _valeur |
| unsigned long | count_ |
Dtk_KinNamedValue represents a named value.
A named value is associated at a parameter.
|
protected |
Default constructor.
|
protected |
Copy constructor.
| att | the Dtk_KinNamedValue to be copied |
|
protected |
Destructor.
|
static |
Calls default constructor to allocate a new object.
|
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 |
| Dtk_status Dtk_KinNamedValue::Dump | ( | FILE * | inFile | ) |
Write Dump file for named value.
| inFile | the output file |
Sample
Result
| type_detk Dtk_KinNamedValue::get_type_detk | ( | ) | const |
| Dtk_string Dtk_KinNamedValue::getName | ( | ) |
Returns the name of the value.
|
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.
| double Dtk_KinNamedValue::getValue | ( | ) |
Returns the value of the name.
|
static |
Delete object.
| void Dtk_KinNamedValue::setName | ( | Dtk_string | inName | ) |
Sets the name.
| inName | name |
| void Dtk_KinNamedValue::setValue | ( | double | inValue | ) |
Sets the value.
| inValue | Value |
| Dtk_ErrorStatus Dtk_KinNamedValue::Transform | ( | const Dtk_transfo & | inTransfo | ) |
|
protected |
|
protected |
|
protectedinherited |