#include <asm_model_info.hxx>


Public Member Functions | |
| asm_model_info (const asm_model_info &other) | |
| Copy constructor. | |
| asm_model_info () | |
| Default constructor. | |
| wchar_t const * | get_model_name () const |
| Returns the model's name. | |
| asm_model_info & | operator= (const asm_model_info &other) |
| Assignment operator. | |
| void | set_model_name (wchar_t const *new_name) |
| Sets the model name field of the asm_model_info object. | |
| ~asm_model_info () | |
| Destructor. | |
Public Attributes | |
| logical | model_has_asm |
| Flag indicating whether or not the model contains an assembly. | |
| double | model_resabs |
| Positional tolerance for this model. | |
| double | model_resnor |
| Angular tolerance for this model. | |
| double | model_units |
| Number of millimeters which make up one modeling unit in this model, for example, 1000 for a part in meters. | |
Role: The asm_model_info object is intended to consolidate information about the properties of an asm_model object into a single class object. Its primary use is during ASAT save and restore. During save, each model being saved is queried for its model info, which is persisted to the ASAT file. During restore, this model info is passed to the entity manager factory that constructs the corresponding restored model's entity manager.
| asm_model_info::asm_model_info | ( | ) |
Default constructor.
| asm_model_info::asm_model_info | ( | const asm_model_info & | other | ) |
Copy constructor.
| other | other model. |
| asm_model_info::~asm_model_info | ( | ) |
Destructor.
| wchar_t const* asm_model_info::get_model_name | ( | ) | const |
Returns the model's name.
Role: This method returns the customer-assigned name string associated with the model.
| asm_model_info& asm_model_info::operator= | ( | const asm_model_info & | other | ) |
Assignment operator.
| other | other model. |
| void asm_model_info::set_model_name | ( | wchar_t const * | new_name | ) |
Sets the model name field of the asm_model_info object.
Role: This method allows the customer to assign a value to the model-name data member of this asm_model_info object. Note that the function asmi_model_get_info returns a copy of the model's information, so customers should not try to change the name of a model by calling asmi_model_get_info and then calling set_model_name on the result. Instead, they should call an appropriate method on the model's concrete entity manager object.
| logical asm_model_info::model_has_asm |
Flag indicating whether or not the model contains an assembly.
| double asm_model_info::model_resabs |
Positional tolerance for this model.
| double asm_model_info::model_resnor |
Angular tolerance for this model.
Note that customers should NEVER change SPAresnor away from its initial value of 1.0e-10.
| double asm_model_info::model_units |
Number of millimeters which make up one modeling unit in this model, for example, 1000 for a part in meters.