C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
mb_property.h File Reference

Properties of mathematical objects. More...

#include <math_define.h>
#include <templ_sptr.h>
#include <stdio.h>
#include <stdlib.h>
#include <templ_p_array.h>
#include <reference_item.h>
#include <mb_property_title.h>
#include <mb_cart_point3d.h>
#include <mb_cart_point.h>
#include <name_item.h>

Classes

struct  PropType< Type >
 Object type and property type correspondence structure. More...
 
class  MbProperty
 Property. Internal use only. More...
 
class  BoolProperty
 Bool property. More...
 
class  IntProperty
 Int property. More...
 
class  UIntProperty
 Uint property. More...
 
class  DoubleProperty
 Double property. More...
 
class  NDoubleProperty
 Double property with number. More...
 
class  StringProperty
 String property. More...
 
class  VersionProperty
 Version property. More...
 
class  MathItemProperty< Type >
 The property of the object. More...
 
class  MathItemCopyProperty< Type >
 The property of the object. More...
 
class  ConstRefItemProperty< Type >
 Read-only reference item property without setter. More...
 
class  RefItemProperty< Type >
 Read/write property of ref count object. More...
 
class  MbProperties
 Set of object properties. Internal use only. More...
 

Enumerations

enum  PrePropType {
  pt_UndefinedProp = 0 , pt_BoolProp = 1 , pt_IntProp = 2 , pt_UIntProp = 3 ,
  pt_DoubleProp = 4 , pt_NDoubleProp = 5 , pt_StringProp = 6 , pt_CharProp = 7 ,
  pt_VersionProp = 8 , pt_AtomicPropLast = 20 , pt_CartPointProp = 21 , pt_VectorProp = 22 ,
  pt_DirectionProp = 23 , pt_PlacementProp = 24 , pt_MatrixProp = 25 , pt_CurveProp = 26 ,
  pt_MultilineProp = 27 , pt_RegionProp = 28 , pt_PntMatingProp = 29 , pt_PlanarPropLast = 50 ,
  pt_CartPoint3DProp = 51 , pt_Vector3DProp = 52 , pt_Placement3DProp = 53 , pt_Matrix3DProp = 54 ,
  pt_FloatPointProp = 55 , pt_FloatPoint3DProp = 56 , pt_FloatVector3DProp = 57 , pt_TriangleProp = 58 ,
  pt_QuadrangleProp = 59 , pt_ElementProp = 60 , pt_Apex3DProp = 61 , pt_Polygon3DProp = 62 ,
  pt_GridProp = 63 , pt_SpatialPropLast = 90 , pt_FunctionProp = 91 , pt_Curve3DProp = 92 ,
  pt_SurfaceProp = 93 , pt_Point3DProp = 94 , pt_MarkerProp = 95 , pt_SymbolProp = 96 ,
  pt_ThreadProp = 97 , pt_Pnt3DMatingProp = 98 , pt_GeomPropLast = 120 , pt_CreatorProp = 121 ,
  pt_VertexProp = 122 , pt_EdgeProp = 123 , pt_CurveEdgeProp = 124 , pt_OrientedEdgeProp = 125 ,
  pt_LoopProp = 126 , pt_FaceProp = 127 , pt_FaceShellProp = 128 , pt_NameProp = 129 ,
  pt_TopologyPropLast = 150 , pt_AssistingItemProp = 151 , pt_CollectionProp = 152 , pt_PointFrameProp = 153 ,
  pt_WireFrameProp = 154 , pt_SolidProp = 155 , pt_InstanceProp = 156 , pt_AssemblyProp = 157 ,
  pt_ConstraintSystem = 158 , pt_MeshProp = 159 , pt_SpaceInstanceProp = 160 , pt_PlaneInstanceProp = 161 ,
  pt_ConstraintModelProp = 162 , pt_ItemProp = 163 , pt_ModelProp = 164 , pt_TransactionsProp = 165 ,
  pt_AttributeContainerProp = 166 , pt_AttributeProp = 167 , pt_NamedAttributeContainerProp = 168 , pt_AttributeActionProp = 169 ,
  pt_ModelPropLast = 300 , pt_LastPropType = 1000
}
 Types of properties. More...
 

Functions

template<class PropType , class FieldType >
void GetCharValue (const PropType *, const FieldType *, uint32 n, TCHAR *v)
 Get string value of given property for its given field. More...
 
template<class PropType >
void GetCharValue (const PropType *, const MbCartPoint *value, uint32 n, TCHAR *v)
 Get properties of two-dimensional point. More...
 
template<class PropType >
void GetCharValue (const PropType *, const MbVector *value, uint32 n, TCHAR *v)
 Get properties of two-dimensional vector. More...
 
template<class PropType >
void GetCharValue (const PropType *, const MbDirection *value, uint32 n, TCHAR *v)
 Get properties of two-dimensional normalized vector. More...
 
template<class PropType >
void GetCharValue (const PropType *, const MbCartPoint3D *value, uint32 n, TCHAR *v)
 Get properties of three-dimensional point. More...
 
template<class PropType >
void GetCharValue (const PropType *, const MbVector3D *value, uint32 n, TCHAR *v)
 Get properties of three-dimensional vector. More...
 
template<class PropType >
void GetCharValue (const PropType *, const MbName *value, uint32 n, TCHAR *v)
 Get properties of object name. More...
 

Detailed Description

Properties of mathematical objects.