#include <SPAIDocumentAssemblyInfo.h>


Public Member Functions | |
| void * | GetData () const |
| For Spatial Corp. | |
| virtual int | GetModelsCount () |
| Returns the number of models in the document. | |
| virtual bool | IsValid () const |
| SPAIDocumentAssemblyInfo & | operator= (const SPAIDocumentAssemblyInfo &iInfo) |
| Equal operator. | |
| virtual SPAIResult | SaveAs (SPAIFile &iFile) const |
| Saves the assembly information in an XML-EBOM file. | |
| virtual SPAIResult | SelectModel (int iModel) |
| Some specific documents like CATIAV4 exp files may contain more than 1 model. | |
| void | SetData (void *ipData) |
| For Spatial Corp. | |
| SPAIDocumentAssemblyInfo (const SPAIDocument &iDocument) | |
| Constructor. | |
| virtual | ~SPAIDocumentAssemblyInfo () |
| Destructor. | |
Protected Member Functions | |
| int | Ref () |
| int | Unref () |
Protected Attributes | |
| SPAIObjectType | _type |
The SPAIDocumentAssemblyInfo class give information about documents containing assembly information. SPAIDocumentAssemblyInfo can generate an XML-EBOM file describing the product structure of the assembly.
| SPAIDocumentAssemblyInfo::SPAIDocumentAssemblyInfo | ( | const SPAIDocument & | iDocument | ) |
Constructor.
| iDocument,: | the accessed document for which assembly information will be retrieved |
| virtual SPAIDocumentAssemblyInfo::~SPAIDocumentAssemblyInfo | ( | ) | [virtual] |
Destructor.
| void* SPAIObject::GetData | ( | ) | const [inherited] |
For Spatial Corp.
internal use only.
| virtual int SPAIDocumentInfo::GetModelsCount | ( | ) | [virtual, inherited] |
Returns the number of models in the document.
For most documents this method will return 1. Some specific documents like CATIAV4 exp files may contain more than 1 model.
| virtual bool SPAIObject::IsValid | ( | ) | const [virtual, inherited] |
| SPAIDocumentAssemblyInfo& SPAIDocumentAssemblyInfo::operator= | ( | const SPAIDocumentAssemblyInfo & | iInfo | ) |
Equal operator.
| int SPAIObject::Ref | ( | ) | [protected, inherited] |
| virtual SPAIResult SPAIDocumentAssemblyInfo::SaveAs | ( | SPAIFile & | iFile | ) | const [virtual] |
Saves the assembly information in an XML-EBOM file.
| iFile | indicates where the five should be saved. |
| virtual SPAIResult SPAIDocumentInfo::SelectModel | ( | int | iModel | ) | [virtual, inherited] |
Some specific documents like CATIAV4 exp files may contain more than 1 model.
Selects the model for which information will be queried.
| iModel | the model index from 0 included to model count excluded. |
| void SPAIObject::SetData | ( | void * | ipData | ) | [inherited] |
For Spatial Corp.
internal use only.
| int SPAIObject::Unref | ( | ) | [protected, inherited] |
SPAIObjectType SPAIObject::_type [protected, inherited] |