This is the Dtk_Properties class. More...
Public Member Functions | |
virtual void | conv_ptr (Dtk_Properties **s) |
Dtk_Properties (const Dtk_Properties &p) | |
int | DtkDynamicType (const int &inId) |
virtual void | dump (FILE *file=stdout) |
Dtk_string | GetFormula (Dtk_string &outEstimatedValue) |
Get the Formula and its Estimated value of the Property . More... | |
Dtk_ErrorStatus | GetFormula (Dtk_string &outFormula, Dtk_string &outEstimatedValue, Dtk_string &outTitle, Dtk_string &outResultType) |
Get the Formula Type of result and its Estimated value of the MetaData . More... | |
virtual Dtk_Size_t | GetSize () const |
const Dtk_string & | GetTitle () const |
Get the Title of the Property . More... | |
const Dtk_string & | GetType () const |
Get the Type of the Property . More... | |
const Dtk_string & | GetValue () const |
Get the Value of the Property . More... | |
Dtk_bool | IsBoolean () const |
Dtk_bool | IsDate () const |
Dtk_bool | IsFormula () const |
Dtk_bool | IsInteger () const |
Dtk_bool | IsNull () const |
Dtk_bool | IsReal () const |
Dtk_bool | IsReference () const |
Dtk_bool | IsString () const |
Dtk_Properties & | operator= (const Dtk_Properties &p) |
void | SetAsBoolean () |
void | SetAsInteger () |
void | SetAsReal () |
void | SetFormula (Dtk_string inFormula, Dtk_string inEstimatedValue, Dtk_string inTitle, Dtk_string inResultType) |
Set the MetaData as Formula . More... | |
void | SetTitle (Dtk_string) |
Set the Title of the Property . More... | |
void | SetType (Dtk_string in) |
Set the Type of the Property . More... | |
void | SetValue (Dtk_string) |
Set the Value of the Property . More... | |
Static Public Member Functions | |
static Dtk_PropertiesPtr | create () |
static Dtk_Properties * | DtkDynamicCast (Dtk_Object *s) |
Protected Types | |
enum | { _typeID = DTK_TYPE_OBJECT } |
Protected Member Functions | |
void | _copy (const Dtk_Object &s) |
void | _copy (const Dtk_Properties &s) |
void | _Init () |
void | _init () |
void | _reset () |
Dtk_Properties () | |
virtual | ~Dtk_Properties () |
Protected Attributes | |
Dtk_Handle * | _Private |
unsigned long | count_ |
Friends | |
class | Dtk_SmartPtr< Dtk_Properties > |
This is the Dtk_Properties class.
A Dtk_Properties contains the property which defines by its Type,Title and Value
This class lets you use Dtk_Properties.
Dtk_Properties::Dtk_Properties | ( | const Dtk_Properties & | p | ) |
|
protected |
|
protectedvirtual |
|
protectedinherited |
|
protected |
|
protected |
|
protectedinherited |
|
protected |
|
virtual |
|
static |
|
static |
|
virtual |
Implements Dtk_Object.
|
virtualinherited |
Dtk_string Dtk_Properties::GetFormula | ( | Dtk_string & | outEstimatedValue | ) |
Get the Formula and its Estimated value of the Property .
[out] | outEstimatedValue | : Estimated value of formula |
Dtk_ErrorStatus Dtk_Properties::GetFormula | ( | Dtk_string & | outFormula, |
Dtk_string & | outEstimatedValue, | ||
Dtk_string & | outTitle, | ||
Dtk_string & | outResultType | ||
) |
Get the Formula Type of result and its Estimated value of the MetaData .
[out] | outEstimatedValue | : Estimated value of formula |
[out] | outType | : Type of Estimated 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.
const Dtk_string& Dtk_Properties::GetTitle | ( | ) | const |
Get the Title of the Property .
const Dtk_string& Dtk_Properties::GetType | ( | ) | const |
Get the Type of the Property .
const Dtk_string& Dtk_Properties::GetValue | ( | ) | const |
Get the Value of the Property .
Dtk_bool Dtk_Properties::IsBoolean | ( | ) | const |
Dtk_bool Dtk_Properties::IsDate | ( | ) | const |
Dtk_bool Dtk_Properties::IsFormula | ( | ) | const |
Dtk_bool Dtk_Properties::IsInteger | ( | ) | const |
Dtk_bool Dtk_Properties::IsNull | ( | ) | const |
Dtk_bool Dtk_Properties::IsReal | ( | ) | const |
Dtk_bool Dtk_Properties::IsReference | ( | ) | const |
Dtk_bool Dtk_Properties::IsString | ( | ) | const |
Dtk_Properties& Dtk_Properties::operator= | ( | const Dtk_Properties & | p | ) |
void Dtk_Properties::SetAsBoolean | ( | ) |
void Dtk_Properties::SetAsInteger | ( | ) |
void Dtk_Properties::SetAsReal | ( | ) |
void Dtk_Properties::SetFormula | ( | Dtk_string | inFormula, |
Dtk_string | inEstimatedValue, | ||
Dtk_string | inTitle, | ||
Dtk_string | inResultType | ||
) |
Set the MetaData as Formula .
[in] | inFormula | : Formula |
[in] | inEstimatedValue | : Estimated value of formula |
[in] | inResultType | : Type of the EstimateValue |
void Dtk_Properties::SetTitle | ( | Dtk_string | ) |
Set the Title of the Property .
void Dtk_Properties::SetType | ( | Dtk_string | in | ) |
Set the Type of the Property .
void Dtk_Properties::SetValue | ( | Dtk_string | ) |
Set the Value of the Property .
|
friend |
|
protected |
|
protectedinherited |