Open CASCADE Technology  7.5.0
Public Member Functions
Standard_Transient Class Reference

Abstract class which forms the root of the entire Transient class hierarchy. More...

#include <Standard_Transient.hxx>

Inherited by Adaptor2d_HCurve2d, Adaptor3d_HCurve, Adaptor3d_HSurface, Adaptor3d_HVertex, Adaptor3d_TopolTool, AdvApp2Var_Iso, AdvApp2Var_Node, AdvApp2Var_Patch, AIS_Animation, AIS_GlobalStatus, AIS_InteractiveContext, AIS_Selection, AppDef_SmoothCriterion, Approx_CurvlinFunc, Approx_SweepFunction, Aspect_DisplayConnection, Aspect_Grid, Aspect_VKeySet, Aspect_Window, Aspect_XRAction, Aspect_XRActionSet, Aspect_XRSession, BinMDF_ADriver, BinMDF_ADriverTable, BOPDS_CommonBlock, BOPDS_PaveBlock, BRep_CurveRepresentation, BRep_PointRepresentation, BRepAlgo_AsDes, BRepApprox_ApproxLine, BRepBlend_Line, BRepBuilderAPI_FastSewing, BRepBuilderAPI_Sewing, BRepCheck_Result, BRepFill_LocationLaw, BRepFill_PipeShell, BRepFill_SectionLaw, BRepMesh_Classifier, BRepMesh_DataStructureOfDelaun, BRepMesh_Deflection, BRepMesh_DiscretRoot, BRepMesh_EdgeParameterProvider< ParametersCollection >, BRepMesh_EdgeParameterProvider< Handle< TColStd_HArray1OfReal > >, BRepMesh_FaceChecker, BRepMesh_MeshTool, BRepMesh_SelectorOfDataStructureOfDelaun, BRepMesh_ShapeTool, BRepMesh_VertexTool, BRepTools_History, BRepTools_Modification, BRepTools_ReShape, BSplCLib_Cache, BSplSLib_Cache, BVH_BuilderTransient, BVH_BuildThread, BVH_ObjectTransient, BVH_Properties, BVH_TreeBaseTransient, CDF_Directory, CDF_MetaDataDriver, CDF_MetaDataDriverFactory, CDF_StoreList, CDM_Application, CDM_Document, CDM_MetaData, CDM_Reference, ChFiDS_Spine, ChFiDS_Stripe, ChFiDS_SurfData, Contap_TheIWLineOfTheIWalking, DBRep_Edge, DBRep_Face, DDataStd_DrawDriver, DDF_Transaction, Draw_Drawable3D, Expr_GeneralExpression, Expr_GeneralFunction, Expr_GeneralRelation, ExprIntrp_Generator, Extrema_ExtPExtS, Extrema_ExtPRevS, FEmTool_Curve, FEmTool_ElementaryCriterion, FEmTool_SparseMatrix, Font_FontMgr, Font_FTFont, Font_FTLibrary, Font_SystemFont, Font_TextFormatter, GccInt_Bisec, Geom2d_Geometry, Geom2d_Transformation, Geom2dEvaluator_Curve, Geom_Geometry, Geom_OsculatingSurface, Geom_Transformation, GeomEvaluator_Curve, GeomEvaluator_Surface, GeomFill_Boundary, GeomFill_CoonsAlgPatch, GeomFill_Line, GeomFill_LocationLaw, GeomFill_SectionLaw, GeomFill_TgtField, GeomFill_TrihedronLaw, GeomPlate_CurveConstraint, GeomPlate_PointConstraint, GeomTools_UndefinedTypeHandler, Graphic3d_ArrayOfPrimitives, Graphic3d_Aspects, Graphic3d_Camera, Graphic3d_CLight, Graphic3d_ClipPlane, Graphic3d_CStructure, Graphic3d_DataStructureManager, Graphic3d_FrameStats, Graphic3d_GraphicDriver, Graphic3d_Group, Graphic3d_HatchStyle, Graphic3d_Layer, Graphic3d_LightSet, Graphic3d_MarkerImage, Graphic3d_PresentationAttributes, Graphic3d_SequenceOfHClipPlane, Graphic3d_ShaderAttribute, Graphic3d_ShaderObject, Graphic3d_ShaderProgram, Graphic3d_ShaderVariable, Graphic3d_Structure, Graphic3d_StructureManager, Graphic3d_Text, Graphic3d_TextureParams, Graphic3d_TextureRoot, Graphic3d_TextureSet, Graphic3d_TransformPers, Graphic3d_ViewAffinity, HeaderSection_FileDescription, HeaderSection_FileName, HeaderSection_FileSchema, HLRAlgo_EdgesBlock, HLRAlgo_PolyAlgo, HLRAlgo_PolyData, HLRAlgo_PolyInternalData, HLRAlgo_PolyInternalNode, HLRAlgo_PolyShellData, HLRAlgo_WiresBlock, HLRBRep_AreaLimit, HLRBRep_Data, HLRBRep_InternalAlgo, HLRBRep_PolyAlgo, HLRTest_ShapeData, HLRTopoBRep_OutLiner, IFSelect_Activator, IFSelect_AppliedModifiers, IFSelect_Dispatch, IFSelect_EditForm, IFSelect_Editor, IFSelect_GeneralModifier, IFSelect_IntParam, IFSelect_ListEditor, IFSelect_ModelCopier, IFSelect_PacketList, IFSelect_Selection, IFSelect_SessionDumper, IFSelect_ShareOut, IFSelect_SignatureList, IFSelect_Transformer, IFSelect_WorkLibrary, IFSelect_WorkSession, IGESBasic_HArray1OfHArray1OfIGESEntity, IGESBasic_HArray1OfHArray1OfInteger, IGESBasic_HArray1OfHArray1OfReal, IGESBasic_HArray1OfHArray1OfXY, IGESBasic_HArray1OfHArray1OfXYZ, IGESData_FileRecognizer, IGESData_GlobalNodeOfSpecificLib, IGESData_GlobalNodeOfWriterLib, IGESData_IGESEntity, IGESData_NodeOfSpecificLib, IGESData_NodeOfWriterLib, IGESData_SpecificModule, IGESData_ToolLocation, IGESDefs_HArray1OfHArray1OfTextDisplayTemplate, IGESSelect_ViewSorter, IGESToBRep_AlgoContainer, IGESToBRep_IGESBoundary, IGESToBRep_ToolContainer, Image_CompressedPixMap, Image_Diff, Image_PixMap, Image_SupportedFormats, Image_Texture, Image_VideoRecorder, IMeshData_ParametersList, IMeshData_ParametersListArrayAdaptor< ParametersListPtrType >, IMeshData_Shape, IMeshTools_CurveTessellator, IMeshTools_MeshAlgo, IMeshTools_MeshAlgoFactory, IMeshTools_ModelAlgo, IMeshTools_ShapeVisitor, Interface_Check, Interface_CopyControl, Interface_EntityCluster, Interface_FileReaderData, Interface_GeneralModule, Interface_GlobalNodeOfGeneralLib, Interface_GlobalNodeOfReaderLib, Interface_GTool, Interface_HGraph, Interface_InterfaceModel, Interface_IntVal, Interface_NodeOfGeneralLib, Interface_NodeOfReaderLib, Interface_ParamList, Interface_ParamSet, Interface_Protocol, Interface_ReaderModule, Interface_ReportEntity, Interface_UndefinedContent, IntPatch_Line, IntPatch_TheIWLineOfTheIWalking, IntStart_SITopolTool, IntSurf_LineOn2S, IntTools_Context, Law_BSpline, Law_Function, LDOM_MemManager, LocOpe_GeneratedShape, LocOpe_WiresOnShape, MAT2d_Circuit, MAT2d_Connexion, MAT_Arc, MAT_BasicElt, MAT_Bisector, MAT_Edge, MAT_Graph, MAT_ListOfBisector, MAT_ListOfEdge, MAT_Node, MAT_TListNodeOfListOfBisector, MAT_TListNodeOfListOfEdge, MAT_Zone, Media_BufferPool, Media_CodecContext, Media_FormatContext, Media_Frame, Media_Packet, Media_PlayerContext, Media_Scaler, Media_Timer, MeshVS_DataSource, MeshVS_Drawer, MeshVS_PrsBuilder, Message_Alert, Message_Algorithm, Message_Attribute, Message_CompositeAlerts, Message_Messenger, Message_Printer, Message_ProgressIndicator, Message_Report, MoniTool_CaseData, MoniTool_Element, MoniTool_IntVal, MoniTool_RealVal, MoniTool_SignText, MoniTool_Timer, MoniTool_TypedValue, NCollection_BaseAllocator, NCollection_Buffer, NCollection_Shared< T, typename >, NCollection_Shared< NCollection_DataMap< IFacePtr, ListOfInteger, WeakEqual< IMeshData_Face > > >, NCollection_Shared< NCollection_DataMap< Standard_Integer, ListOfInteger > >, NCollection_Shared< NCollection_DataMap< TopoDS_Shape, Standard_Integer, TopTools_ShapeMapHasher > >, NCollection_Shared< NCollection_IndexedDataMap< BRepMesh_Edge, BRepMesh_PairOfIndex > >, NCollection_Shared< NCollection_IndexedMap< Standard_Real > >, NCollection_Shared< NCollection_List< Standard_Integer > >, NCollection_Shared< NCollection_Vector< BRepMesh_Circle > >, NCollection_Shared< NCollection_Vector< BRepMesh_Triangle > >, NCollection_Shared< NCollection_Vector< IEdgeHandle > >, NCollection_Shared< NCollection_Vector< IEdgePtr > >, NCollection_Shared< NCollection_Vector< IFaceHandle > >, NCollection_Shared< NCollection_Vector< IPCurveHandle > >, NCollection_Shared< NCollection_Vector< IWireHandle > >, NCollection_Shared< NCollection_Vector< Standard_Boolean > >, NCollection_Shared< NCollection_Vector< Standard_Integer > >, NCollection_Shared< NCollection_Vector< TopAbs_Orientation > >, NCollection_Shared< TColStd_PackedMapOfInteger >, NLPlate_HGPPConstraint, OpenGl_Caps, OpenGl_Context, OpenGl_Resource, OpenGl_SetOfPrograms, OpenGl_SetOfShaderPrograms, OpenGl_ShaderManager, OpenGl_TextureSet, OpenGl_Window, OpenGl_Workspace, OSD_ThreadPool, PCDM_Reader, PCDM_ReadWriter, PCDM_ReferenceIterator, PCDM_Writer, PLib_Base, Poly_CoherentTriangulation, Poly_Polygon2D, Poly_Polygon3D, Poly_PolygonOnTriangulation, Poly_Triangulation, Prs3d_BasicAspect, PrsMgr_PresentableObject, PrsMgr_PresentationManager, Resource_Manager, RWGltf_CafWriter, RWGltf_MaterialCommon, RWGltf_MaterialMetallicRoughness, RWGltf_PrimitiveArrayReader, RWMesh_CafReader, RWObj_Reader, RWStl_Reader, Select3D_SensitiveEntity, SelectMgr_BaseFrustum, SelectMgr_BVHThreadPool, SelectMgr_EntityOwner, SelectMgr_Filter, SelectMgr_FrustumBuilder, SelectMgr_Selection, SelectMgr_SelectionImageFiller, SelectMgr_SelectionManager, SelectMgr_SensitiveEntity, SelectMgr_ViewerSelector, ShapeAlgo_AlgoContainer, ShapeAlgo_ToolContainer, ShapeAnalysis_FreeBoundData, ShapeAnalysis_Surface, ShapeAnalysis_TransferParameters, ShapeAnalysis_Wire, ShapeConstruct_ProjectCurveOnSurface, ShapeCustom_RestrictionParameters, ShapeExtend_BasicMsgRegistrator, ShapeExtend_WireData, ShapeFix_Edge, ShapeFix_EdgeProjAux, ShapeFix_Root, ShapeProcess_Context, ShapeProcess_Operator, ShapeUpgrade_RemoveLocations, ShapeUpgrade_SplitCurve, ShapeUpgrade_SplitSurface, ShapeUpgrade_Tool, ShapeUpgrade_UnifySameDomain, Standard_Failure, Standard_Persistent, Standard_Type, StdObjMgt_Attribute< Transient >, StdObjMgt_Attribute< AttribClass >, StdObjMgt_Attribute< TDataStd_NamedData >, StdObjMgt_Attribute< TDataStd_Real >, StdObjMgt_Attribute< TDataStd_Variable >, StdObjMgt_Attribute< TDataXtd_Constraint >, StdObjMgt_Attribute< TDataXtd_PatternStd >, StdObjMgt_Attribute< TDataXtd_Presentation >, StdObjMgt_Attribute< TDocStd_XLink >, StdObjMgt_Attribute< TFunction_Function >, StdObjMgt_Attribute< TNaming_NamedShape >, StdObjMgt_Persistent, StdObjMgt_SharedObject::AbstractPersistentBase< Transient >, StdPersistent_TopoDS::pTShape, StdPrs_BRepFont, StdPrs_HLRShapeI, StdStorage_Data, StdStorage_HeaderData, StdStorage_Root, StdStorage_RootData, StdStorage_TypeData, StepAP242_IdAttribute, StepAP242_ItemIdentifiedRepresentationUsage, StepBasic_Action, StepBasic_ActionAssignment, StepBasic_ActionMethod, StepBasic_ActionRequestAssignment, StepBasic_ActionRequestSolution, StepBasic_Address, StepBasic_ApplicationContext, StepBasic_ApplicationContextElement, StepBasic_ApplicationProtocolDefinition, StepBasic_Approval, StepBasic_ApprovalAssignment, StepBasic_ApprovalDateTime, StepBasic_ApprovalPersonOrganization, StepBasic_ApprovalRelationship, StepBasic_ApprovalRole, StepBasic_ApprovalStatus, StepBasic_Certification, StepBasic_CertificationAssignment, StepBasic_CertificationType, StepBasic_CharacterizedObject, StepBasic_Contract, StepBasic_ContractAssignment, StepBasic_ContractType, StepBasic_CoordinatedUniversalTimeOffset, StepBasic_Date, StepBasic_DateAndTime, StepBasic_DateAndTimeAssignment, StepBasic_DateAssignment, StepBasic_DateRole, StepBasic_DateTimeRole, StepBasic_DerivedUnit, StepBasic_DerivedUnitElement, StepBasic_DimensionalExponents, StepBasic_Document, StepBasic_DocumentProductAssociation, StepBasic_DocumentReference, StepBasic_DocumentRelationship, StepBasic_DocumentRepresentationType, StepBasic_DocumentType, StepBasic_DocumentUsageConstraint, StepBasic_Effectivity, StepBasic_EffectivityAssignment, StepBasic_EulerAngles, StepBasic_ExternallyDefinedItem, StepBasic_ExternalSource, StepBasic_GeneralProperty, StepBasic_Group, StepBasic_GroupAssignment, StepBasic_GroupRelationship, StepBasic_IdentificationAssignment, StepBasic_IdentificationRole, StepBasic_LocalTime, StepBasic_MeasureWithUnit, StepBasic_NameAssignment, StepBasic_NamedUnit, StepBasic_ObjectRole, StepBasic_Organization, StepBasic_OrganizationAssignment, StepBasic_OrganizationRole, StepBasic_Person, StepBasic_PersonAndOrganization, StepBasic_PersonAndOrganizationAssignment, StepBasic_PersonAndOrganizationRole, StepBasic_Product, StepBasic_ProductCategory, StepBasic_ProductCategoryRelationship, StepBasic_ProductDefinition, StepBasic_ProductDefinitionFormation, StepBasic_ProductDefinitionFormationRelationship, StepBasic_ProductDefinitionReference, StepBasic_ProductDefinitionRelationship, StepBasic_RoleAssociation, StepBasic_SecurityClassification, StepBasic_SecurityClassificationAssignment, StepBasic_SecurityClassificationLevel, StepBasic_VersionedActionRequest, STEPCAFControl_ExternFile, StepData_Described, StepData_EDescr, StepData_FileRecognizer, StepData_FreeFormEntity, StepData_GlobalNodeOfWriterLib, StepData_NodeOfWriterLib, StepData_PDescr, StepData_SelectMember, StepData_UndefinedEntity, StepDimTol_DatumReference, StepDimTol_DatumReferenceModifierWithValue, StepDimTol_GeometricTolerance, StepDimTol_GeometricToleranceRelationship, StepDimTol_RunoutZoneOrientation, StepDimTol_ToleranceZoneDefinition, StepDimTol_ToleranceZoneForm, StepElement_AnalysisItemWithinRepresentation, StepElement_CurveElementEndReleasePacket, StepElement_CurveElementSectionDefinition, StepElement_ElementDescriptor, StepElement_ElementMaterial, StepElement_SurfaceElementProperty, StepElement_SurfaceSection, StepElement_SurfaceSectionField, StepFEA_Curve3dElementProperty, StepFEA_CurveElementEndOffset, StepFEA_CurveElementEndRelease, StepFEA_CurveElementInterval, StepFEA_CurveElementLocation, StepFEA_ElementGeometricRelationship, StepFEA_FeaCurveSectionGeometricRelationship, StepFEA_FeaSurfaceSectionGeometricRelationship, StepFEA_FreedomAndCoefficient, StepFEA_FreedomsList, StepGeom_CompositeCurveSegment, StepGeom_SurfacePatch, StepRepr_AssemblyComponentUsageSubstitute, StepRepr_ConfigurationDesign, StepRepr_ConfigurationItem, StepRepr_DataEnvironment, StepRepr_FunctionallyDefinedTransformation, StepRepr_ItemDefinedTransformation, StepRepr_MaterialDesignation, StepRepr_ProductConcept, StepRepr_PropertyDefinition, StepRepr_PropertyDefinitionRelationship, StepRepr_PropertyDefinitionRepresentation, StepRepr_Representation, StepRepr_RepresentationContext, StepRepr_RepresentationItem, StepRepr_RepresentationMap, StepRepr_RepresentationRelationship, StepRepr_ShapeAspect, StepRepr_ShapeAspectRelationship, STEPSelections_AssemblyComponent, STEPSelections_AssemblyLink, StepShape_BoxDomain, StepShape_ContextDependentShapeRepresentation, StepShape_DimensionalCharacteristicRepresentation, StepShape_DimensionalSize, StepShape_LimitsAndFits, StepShape_MeasureQualification, StepShape_PlusMinusTolerance, StepShape_PrecisionQualifier, StepShape_ToleranceValue, StepShape_TypeQualifier, StepShape_ValueFormatTypeQualifier, StepVisual_AreaInSet, StepVisual_Colour, StepVisual_CurveStyle, StepVisual_CurveStyleFont, StepVisual_CurveStyleFontPattern, StepVisual_FillAreaStyle, StepVisual_FillAreaStyleColour, StepVisual_Invisibility, StepVisual_PointStyle, StepVisual_PreDefinedItem, StepVisual_PresentationLayerAssignment, StepVisual_PresentationLayerUsage, StepVisual_PresentationSet, StepVisual_PresentationSize, StepVisual_PresentationStyleAssignment, StepVisual_PresentedItem, StepVisual_PresentedItemRepresentation, StepVisual_SurfaceSideStyle, StepVisual_SurfaceStyleBoundary, StepVisual_SurfaceStyleControlGrid, StepVisual_SurfaceStyleFillArea, StepVisual_SurfaceStyleParameterLine, StepVisual_SurfaceStyleReflectanceAmbient, StepVisual_SurfaceStyleRendering, StepVisual_SurfaceStyleSegmentationCurve, StepVisual_SurfaceStyleSilhouette, StepVisual_SurfaceStyleTransparent, StepVisual_SurfaceStyleUsage, StepVisual_TextStyle, StepVisual_TextStyleForDefinedFont, StepVisual_ViewVolume, Storage_BaseDriver, Storage_CallBack, Storage_Data, Storage_HeaderData, Storage_InternalData, Storage_Root, Storage_RootData, Storage_Schema, Storage_TypeData, Storage_TypedCallBack, TCollection_HAsciiString, TCollection_HExtendedString, TCollection_MapNode, TCollection_SeqNode, TColStd_HPackedMapOfInteger, TDataStd_HDataMapOfStringByte, TDataStd_HDataMapOfStringHArray1OfInteger, TDataStd_HDataMapOfStringHArray1OfReal, TDataStd_HDataMapOfStringInteger, TDataStd_HDataMapOfStringReal, TDataStd_HDataMapOfStringString, TDF_Attribute, TDF_AttributeDelta, TDF_Data, TDF_DataSet, TDF_Delta, TDF_RelocationTable, TDocStd_ApplicationDelta, TDocStd_MultiTransactionManager, TFunction_Driver, TFunction_DriverTable, TNaming_TranslateTool, TObj_Model, TObj_Object, TObj_ObjectIterator, TopLoc_Datum3D, TopLoc_SListNodeOfItemLocation, TopoDS_HShape, TopoDS_TShape, TopOpeBRep_FFDumper, TopOpeBRep_Hctxee2d, TopOpeBRep_Hctxff2d, TopOpeBRepBuild_HBuilder, TopOpeBRepBuild_Loop, TopOpeBRepDS_Association, TopOpeBRepDS_Check, TopOpeBRepDS_GapTool, TopOpeBRepDS_HDataStructure, TopOpeBRepDS_Interference, TopOpeBRepDS_Marker, TopOpeBRepTool_HBoxTool, TPrsStd_Driver, TPrsStd_DriverTable, Transfer_ActorOfProcessForFinder, Transfer_ActorOfProcessForTransient, Transfer_Binder, Transfer_Finder, Transfer_MapContainer, Transfer_ProcessForFinder, Transfer_ProcessForTransient, Transfer_ResultFromModel, Transfer_ResultFromTransient, TransferBRep_TransferResultInfo, Units_Dimensions, Units_Lexicon, Units_Quantity, Units_Token, Units_Unit, Units_UnitsDictionary, Units_UnitsSystem, V3d_Plane, V3d_Trihedron, V3d_View, V3d_Viewer, ViewerTest_EventManager, Vrml_AsciiText, Vrml_Coordinate3, Vrml_IndexedFaceSet, Vrml_IndexedLineSet, Vrml_LOD, Vrml_Material, Vrml_Normal, Vrml_SFImage, Vrml_TextureCoordinate2, VrmlConverter_Drawer, VrmlConverter_LineAspect, VrmlConverter_PointAspect, VrmlConverter_Projector, VrmlConverter_ShadingAspect, VrmlData_Node, XCAFDimTolObjects_DatumObject, XCAFDimTolObjects_DimensionObject, XCAFDimTolObjects_GeomToleranceObject, XCAFNoteObjects_NoteObject, XCAFView_Object, XmlMDF_ADriver, XmlMDF_ADriverTable, XSAlgo_AlgoContainer, XSAlgo_ToolContainer, XSControl_Controller, XSControl_TransferReader, XSControl_TransferWriter, and XSControl_Vars.

Public Member Functions

 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual void Delete () const
 Memory deallocator for transient classes. More...
 

Support of run-time type information (RTTI)

typedef void base_type
 Returns a type descriptor about this object. More...
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object. More...
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const opencascade::handle< Standard_Type > &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
 
static const char * get_type_name ()
 Returns a type descriptor about this object. More...
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class. More...
 

Reference counting, for use by handle<>

Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 
void IncrementRefCounter () const
 Increments the reference counter of this object. More...
 
Standard_Integer DecrementRefCounter () const
 Decrements the reference counter of this object; returns the decremented value. More...
 

Detailed Description

Abstract class which forms the root of the entire Transient class hierarchy.

Member Typedef Documentation

◆ base_type

Returns a type descriptor about this object.

Constructor & Destructor Documentation

◆ Standard_Transient() [1/2]

Standard_Transient::Standard_Transient ( )
inline

Empty constructor.

◆ Standard_Transient() [2/2]

Standard_Transient::Standard_Transient ( const Standard_Transient )
inline

Copy constructor – does nothing.

◆ ~Standard_Transient()

virtual Standard_Transient::~Standard_Transient ( )
inlinevirtual

Destructor must be virtual.

Member Function Documentation

◆ DecrementRefCounter()

Standard_Integer Standard_Transient::DecrementRefCounter ( ) const

Decrements the reference counter of this object; returns the decremented value.

◆ Delete()

virtual void Standard_Transient::Delete ( ) const
virtual

Memory deallocator for transient classes.

◆ DynamicType()

virtual const opencascade::handle<Standard_Type>& Standard_Transient::DynamicType ( ) const
virtual

Returns a type descriptor about this object.

◆ get_type_descriptor()

static const opencascade::handle<Standard_Type>& Standard_Transient::get_type_descriptor ( )
static

Returns type descriptor of Standard_Transient class.

◆ get_type_name()

static const char* Standard_Transient::get_type_name ( )
inlinestatic

Returns a type descriptor about this object.

◆ GetRefCount()

Standard_Integer Standard_Transient::GetRefCount ( ) const
inline

Get the reference counter of this object.

◆ IncrementRefCounter()

void Standard_Transient::IncrementRefCounter ( ) const

Increments the reference counter of this object.

◆ IsInstance() [1/2]

Standard_Boolean Standard_Transient::IsInstance ( const opencascade::handle< Standard_Type > &  theType) const

Returns a true value if this is an instance of Type.

◆ IsInstance() [2/2]

Standard_Boolean Standard_Transient::IsInstance ( const Standard_CString  theTypeName) const

Returns a true value if this is an instance of TypeName.

◆ IsKind() [1/2]

Standard_Boolean Standard_Transient::IsKind ( const opencascade::handle< Standard_Type > &  theType) const

Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.

◆ IsKind() [2/2]

Standard_Boolean Standard_Transient::IsKind ( const Standard_CString  theTypeName) const

Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.

◆ operator=()

Standard_Transient& Standard_Transient::operator= ( const Standard_Transient )
inline

Assignment operator, needed to avoid copying reference counter.

◆ This()

Standard_Transient* Standard_Transient::This ( ) const

Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.


The documentation for this class was generated from the following file: