NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Annotations::IContainer Class Referenceabstract

Represents an object that contains other objects
Created in NX4.0.0. More...

Inheritance diagram for NXOpen::Annotations::IContainer:
NXOpen::INXObject NXOpen::Annotations::DimensionSet NXOpen::Annotations::BaselineDimension NXOpen::Annotations::ChainDimension NXOpen::Annotations::PmiBaselineDimension NXOpen::Annotations::PmiChainDimension

Public Member Functions

virtual std::vector
< NXOpen::NXObject * > 
GetObjects ()=0
 Returns the objects in the container. More...
 
virtual void RemoveObject (NXOpen::NXObject *object)=0
 Removes an object in the container. More...
 
- Public Member Functions inherited from NXOpen::INXObject
virtual NXOpen::INXObjectFindObject (const NXString &journalIdentifier)=0
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
virtual NXOpen::INXObjectFindObject (const char *journalIdentifier)=0
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
virtual bool IsOccurrence ()=0
 Returns whether this object is an occurrence or not. More...
 
virtual NXString JournalIdentifier ()=0
 Returns the identifier that would be recorded in a journal for this object. More...
 
virtual NXString Name ()=0
 Returns the custom name of the object. More...
 
virtual
NXOpen::Assemblies::Component
OwningComponent ()=0
 Returns the owning component, if this object is an occurrence. More...
 
virtual NXOpen::BasePartOwningPart ()=0
 Returns the owning part of this object
Created in NX3.0.0. More...
 
virtual void Print ()=0
 Prints a representation of this object to the system log file. More...
 
virtual NXOpen::INXObjectPrototype ()=0
 Returns the prototype of this object if it is an occurrence. More...
 
virtual void SetName (const NXString &name)=0
 Sets the custom name of the object. More...
 
virtual void SetName (const char *name)=0
 Sets the custom name of the object. More...
 

Detailed Description

Represents an object that contains other objects
Created in NX4.0.0.


Member Function Documentation

virtual std::vector<NXOpen::NXObject *> NXOpen::Annotations::IContainer::GetObjects ( )
pure virtual

Returns the objects in the container.

Returns
List of objects
Created in NX4.0.0.

License requirements : None

Implemented in NXOpen::Annotations::DimensionSet.

virtual void NXOpen::Annotations::IContainer::RemoveObject ( NXOpen::NXObject object)
pure virtual

Removes an object in the container.

The container object is deleted when the last object in it is deleted
Created in NX4.0.0.

License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters
objectObject to remove

Implemented in NXOpen::Annotations::DimensionSet.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.