Open CASCADE Technology 7.8.2.dev
Standard_Transient Class Reference

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

#include <Standard_Transient.hxx>

Inherited by BRepMesh_EdgeParameterProvider< Handle< TColStd_HArray1OfReal > >, NCollection_Shared< NCollection_Vector< IPCurveHandle > >, NCollection_Shared< NCollection_DataMap< IFacePtr, ListOfInteger > >, NCollection_Shared< NCollection_Vector< IWireHandle > >, NCollection_Shared< NCollection_Vector< IFaceHandle > >, NCollection_Shared< NCollection_Vector< IEdgeHandle > >, NCollection_Shared< NCollection_Vector< IEdgePtr > >, NCollection_Shared< NCollection_Vector< TopAbs_Orientation > >, NCollection_Shared< NCollection_List< Standard_Integer > >, NCollection_Shared< NCollection_Vector< BRepMesh_Circle > >, NCollection_Shared< NCollection_Vector< Standard_Boolean > >, NCollection_Shared< NCollection_DataMap< Standard_Integer, ListOfInteger > >, NCollection_Shared< NCollection_IndexedDataMap< BRepMesh_Edge, BRepMesh_PairOfIndex > >, NCollection_Shared< NCollection_Vector< BRepMesh_Triangle > >, NCollection_Shared< TColStd_PackedMapOfInteger >, NCollection_Shared< NCollection_Vector< Standard_Integer > >, NCollection_Shared< NCollection_DataMap< TopoDS_Shape, Standard_Integer, TopTools_ShapeMapHasher > >, NCollection_Shared< NCollection_IndexedMap< Standard_Real > >, StdObjMgt_Attribute< AttribClass >, StdObjMgt_Attribute< TFunction_Function >, StdObjMgt_Attribute< TDataStd_NamedData >, StdObjMgt_Attribute< TDataStd_Real >, StdObjMgt_Attribute< TDataStd_Variable >, StdObjMgt_Attribute< TDocStd_XLink >, StdObjMgt_Attribute< TDataXtd_Constraint >, StdObjMgt_Attribute< TDataXtd_PatternStd >, StdObjMgt_Attribute< TNaming_NamedShape >, StdObjMgt_Attribute< TDataXtd_Presentation >, AIS_Animation, AIS_GlobalStatus, AIS_InteractiveContext, AIS_Selection, Adaptor2d_Curve2d, Adaptor3d_Curve, Adaptor3d_HVertex, Adaptor3d_Surface, Adaptor3d_TopolTool, AdvApp2Var_Iso, AdvApp2Var_Node, AdvApp2Var_Patch, AppDef_SmoothCriterion, Approx_CurvlinFunc, Approx_SweepFunction, Aspect_DisplayConnection, Aspect_Grid, Aspect_VKeySet, Aspect_Window, Aspect_XRAction, Aspect_XRActionSet, Aspect_XRSession, BOPDS_CommonBlock, BOPDS_PaveBlock, 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_FaceChecker, BRepMesh_MeshTool, BRepMesh_SelectorOfDataStructureOfDelaun, BRepMesh_ShapeTool, BRepMesh_VertexTool, BRepTools_History, BRepTools_Modification, BRepTools_ReShape, BRep_CurveRepresentation, BRep_PointRepresentation, BSplCLib_Cache, BSplSLib_Cache, BVH_BuildThread, BVH_BuilderTransient, BVH_ObjectTransient, BVH_Properties, BVH_TreeBaseTransient, BinMDF_ADriver, BinMDF_ADriverTable, BinObjMgt_Position, 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, DDF_Transaction, DDataStd_DrawDriver, DE_ConfigurationContext, DE_ConfigurationNode, DE_Provider, DE_Wrapper, Draw_Drawable3D, ExprIntrp_Generator, Expr_GeneralExpression, Expr_GeneralFunction, Expr_GeneralRelation, Extrema_ExtPExtS, Extrema_ExtPRevS, FEmTool_Curve, FEmTool_ElementaryCriterion, FEmTool_SparseMatrix, Font_FTFont, Font_FTLibrary, Font_FontMgr, Font_SystemFont, Font_TextFormatter, GccInt_Bisec, Geom2dEvaluator_Curve, Geom2d_Geometry, Geom2d_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, Geom_Geometry, Geom_OsculatingSurface, Geom_Transformation, Graphic3d_ArrayOfPrimitives, Graphic3d_Aspects, Graphic3d_CLight, Graphic3d_CStructure, Graphic3d_Camera, Graphic3d_ClipPlane, Graphic3d_DataStructureManager, Graphic3d_FrameStats, Graphic3d_GraphicDriver, Graphic3d_GraphicDriverFactory, Graphic3d_Group, Graphic3d_HatchStyle, Graphic3d_Layer, Graphic3d_LightSet, Graphic3d_MarkerImage, Graphic3d_PresentationAttributes, Graphic3d_SequenceOfHClipPlane, Graphic3d_ShaderAttribute, Graphic3d_ShaderManager, Graphic3d_ShaderObject, Graphic3d_ShaderProgram, Graphic3d_ShaderVariable, Graphic3d_Structure, Graphic3d_StructureManager, Graphic3d_Text, Graphic3d_TextureParams, Graphic3d_TextureRoot, Graphic3d_TextureSet, Graphic3d_TransformPers, Graphic3d_ViewAffinity, 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, HeaderSection_FileDescription, HeaderSection_FileName, HeaderSection_FileSchema, 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, IMeshData_ParametersList, IMeshData_ParametersListArrayAdaptor< ParametersListPtrType >, IMeshData_Shape, IMeshTools_CurveTessellator, IMeshTools_MeshAlgo, IMeshTools_MeshAlgoFactory, IMeshTools_ModelAlgo, IMeshTools_ShapeVisitor, IVtkDraw_HighlightAndSelectionPipeline, IVtk_Interface, Image_CompressedPixMap, Image_Diff, Image_PixMap, Image_SupportedFormats, Image_Texture, Image_VideoRecorder, IntCurvesFace_Intersector, IntPatch_Line, IntPatch_TheIWLineOfTheIWalking, IntStart_SITopolTool, IntSurf_LineOn2S, IntTools_Context, Interface_Check, Interface_CopyControl, Interface_EntityCluster, Interface_FileReaderData, Interface_GTool, Interface_GeneralModule, Interface_GlobalNodeOfGeneralLib, Interface_GlobalNodeOfReaderLib, Interface_HGraph, Interface_IntVal, Interface_InterfaceModel, Interface_NodeOfGeneralLib, Interface_NodeOfReaderLib, Interface_ParamList, Interface_ParamSet, Interface_Protocol, Interface_ReaderModule, Interface_ReportEntity, Interface_UndefinedContent, LDOM_MemManager, Law_BSpline, Law_Function, 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 >, NLPlate_HGPPConstraint, OSD_FileSystem, OSD_ThreadPool, OpenGl_Caps, OpenGl_Context, OpenGl_Resource, OpenGl_SetOfPrograms, OpenGl_SetOfShaderPrograms, OpenGl_ShadowMapArray, OpenGl_TextureSet, OpenGl_Window, OpenGl_Workspace, PCDM_ReadWriter, PCDM_Reader, PCDM_ReaderFilter, PCDM_ReferenceIterator, PCDM_Writer, PLib_Base, Poly_CoherentTriangulation, Poly_MergeNodesTool, Poly_Polygon2D, Poly_Polygon3D, Poly_PolygonOnTriangulation, Poly_Triangulation, Poly_TriangulationParameters, Prs3d_BasicAspect, PrsMgr_PresentableObject, PrsMgr_PresentationManager, RWGltf_CafWriter, RWGltf_GltfFace, RWGltf_MaterialCommon, RWGltf_MaterialMetallicRoughness, RWMesh_CafReader, RWMesh_MaterialMap, RWMesh_TriangulationReader, RWObj_CafWriter, RWObj_Reader, RWPly_CafWriter, RWStl_Reader, Resource_Manager, STEPCAFControl_ExternFile, STEPSelections_AssemblyComponent, STEPSelections_AssemblyLink, Select3D_SensitiveEntity, SelectMgr_BVHThreadPool, SelectMgr_BaseIntersector, 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_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_ExternalSource, StepBasic_ExternallyDefinedItem, StepBasic_GeneralProperty, StepBasic_GeneralPropertyAssociation, StepBasic_GeneralPropertyRelationship, 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, 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, StepKinematics_ContextDependentKinematicLinkRepresentation, 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_RepresentationContextReference, StepRepr_RepresentationItem, StepRepr_RepresentationMap, StepRepr_RepresentationReference, StepRepr_RepresentationRelationship, StepRepr_ShapeAspect, StepRepr_ShapeAspectRelationship, 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, TColStd_HPackedMapOfInteger, TCollection_HAsciiString, TCollection_HExtendedString, TDF_Attribute, TDF_AttributeDelta, TDF_Data, TDF_DataSet, TDF_Delta, TDF_RelocationTable, TDataStd_HDataMapOfStringByte, TDataStd_HDataMapOfStringHArray1OfInteger, TDataStd_HDataMapOfStringHArray1OfReal, TDataStd_HDataMapOfStringInteger, TDataStd_HDataMapOfStringReal, TDataStd_HDataMapOfStringString, TDocStd_ApplicationDelta, TDocStd_MultiTransactionManager, TFunction_Driver, TFunction_DriverTable, TNaming_TranslateTool, TObj_Model, TObj_Object, TObj_ObjectIterator, TPrsStd_Driver, TPrsStd_DriverTable, TopLoc_Datum3D, TopLoc_SListNodeOfItemLocation, TopOpeBRepBuild_HBuilder, TopOpeBRepBuild_Loop, TopOpeBRepDS_Association, TopOpeBRepDS_Check, TopOpeBRepDS_GapTool, TopOpeBRepDS_HDataStructure, TopOpeBRepDS_Interference, TopOpeBRepDS_Marker, TopOpeBRepTool_HBoxTool, TopOpeBRep_FFDumper, TopOpeBRep_Hctxee2d, TopOpeBRep_Hctxff2d, TopoDS_HShape, TopoDS_TShape, TransferBRep_TransferResultInfo, Transfer_ActorOfProcessForFinder, Transfer_ActorOfProcessForTransient, Transfer_Binder, Transfer_Finder, Transfer_MapContainer, Transfer_ProcessForFinder, Transfer_ProcessForTransient, Transfer_ResultFromModel, Transfer_ResultFromTransient, Units_Dimensions, Units_Lexicon, Units_Quantity, Units_Token, Units_Unit, Units_UnitsDictionary, Units_UnitsSystem, V3d_Plane, V3d_Trihedron, V3d_View, V3d_Viewer, ViewerTest_EventManager, VrmlConverter_Drawer, VrmlConverter_LineAspect, VrmlConverter_PointAspect, VrmlConverter_Projector, VrmlConverter_ShadingAspect, VrmlData_Node, Vrml_AsciiText, Vrml_Coordinate3, Vrml_IndexedFaceSet, Vrml_IndexedLineSet, Vrml_LOD, Vrml_Material, Vrml_Normal, Vrml_SFImage, Vrml_TextureCoordinate2, XCAFDimTolObjects_DatumObject, XCAFDimTolObjects_DimensionObject, XCAFDimTolObjects_GeomToleranceObject, XCAFDoc_AssemblyGraph, XCAFNoteObjects_NoteObject, XCAFView_Object, XSAlgo_AlgoContainer, XSAlgo_ToolContainer, XSControl_Controller, XSControl_TransferReader, XSControl_TransferWriter, XSControl_Vars, XmlMDF_ADriver, and XmlMDF_ADriverTable.

Public Member Functions

 Standard_Transient ()
 Empty constructor.
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing.
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter.
 
virtual ~Standard_Transient ()
 Destructor must be virtual.
 

Support of run-time type information (RTTI)

typedef void base_type
 Returns a type descriptor about this object.
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object.
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type.
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
 
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.
 
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.
 
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.
 
static constexpr const char * get_type_name ()
 Returns a type descriptor about this object.
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class.
 

Reference counting, for use by handle<>

Standard_Integer GetRefCount () const noexcept
 Get the reference counter of this object.
 
void IncrementRefCounter () noexcept
 Increments the reference counter of this object.
 
Standard_Integer DecrementRefCounter () noexcept
 Decrements the reference counter of this object; returns the decremented value.
 
virtual void Delete () const
 Memory deallocator for transient classes.
 

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 ( )
inlinenoexcept

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

◆ Delete()

virtual void Standard_Transient::Delete ( ) const
inlinevirtual

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 constexpr const char * Standard_Transient::get_type_name ( )
inlinestaticconstexpr

Returns a type descriptor about this object.

◆ GetRefCount()

Standard_Integer Standard_Transient::GetRefCount ( ) const
inlinenoexcept

Get the reference counter of this object.

◆ IncrementRefCounter()

void Standard_Transient::IncrementRefCounter ( )
inlinenoexcept

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: