ATTRIB_HH_AGGR_GEOMBUILD_BASE
List of: Classes
Subjects: Healing, SAT Save and Restore
Contents: Healing

Purpose: Base HEAL aggregate attribute class for the geometry building phase.

Derivation: ATTRIB_HH_AGGR_GEOMBUILD_BASE : ATTRIB_HH_AGGR : ATTRIB_HH : ATTRIB : ENTITY : ACIS_OBJECT : -

SAT Identifier: "aggregate_geombuild_base_attribute"

Filename: heal/healhusk/attrib/aggrgbld.hxx

Description: ATTRIB_HH_AGGR_GEOMBUILD_BASE is the base geometry building aggregate attribute class from which other HEAL aggregate attribute classes used in the geometry building phase are derived. Aggregate attributes are attached to the body being healed to store information about each subphase of the geometry building phase. Aggregate attributes also manage the individual attributes attached to entities of the body during geometry building.

Constructor: public: ATTRIB_HH_AGGR_GEOMBUILD_BASE::


ATTRIB_HH_AGGR_GEOMBUILD_BASE (


BODY* b // owning body to heal



= NULL


);


C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments. Applications should call this constructor only with the overloaded new operator inherited from the ENTITY class (for example, x=new ATTRIB_HH_AGGR_GEOMBUILD_BASE(...)), because this reserves the memory on the heap, a requirement to support roll back and history management.




Destructor: public: virtual void


ATTRIB_HH_AGGR_GEOMBUILD_BASE::lose ();


Posts a delete bulletin to the bulletin board indicating the instance is no longer used in the active model. The lose methods for attached attributes are also called.






protected: virtual ATTRIB_HH_AGGR_GEOMBUILD_BASE::


~ATTRIB_HH_AGGR_GEOMBUILD_BASE ();


This C++ destructor should never be called directly. Instead, applications should use the overloaded lose method inherited from the ENTITY class, because this supports history management. (For example, x=new ATTRIB_HH_AGGR_GEOMBUILD_BASE(...) then later x->lose.)



Methods: public: void ATTRIB_HH_AGGR_GEOMBUILD_BASE::


attach_all_entity_attribs ();


Attaches the entity-level attributes for the geometry building phase to all the individual entities of the owning body.






public: virtual ATTRIB_HH_ENT*


ATTRIB_HH_AGGR_GEOMBUILD_BASE::attach_attrib (


ENTITY* // entity to attach to


);


Attaches an individual entity-level attribute to the given entity. This method chains individual attributes.






public: virtual void


ATTRIB_HH_AGGR_GEOMBUILD_BASE::cleanup ();


Removes the entity-level attributes from the individual entities of the owning body.






public: virtual void


ATTRIB_HH_AGGR_GEOMBUILD_BASE::debug_ent (


FILE* // file pointer


) const;


Prints the type and address of this object, roll back pointer, attributes, and any unknown subtype information to the specified file. Refer to the ENTITY class for more details.






public: virtual void


ATTRIB_HH_AGGR_GEOMBUILD_BASE::detach_attrib (


ENTITY* // owning entity


);


Removes the entity-level geometry building attributes for the specified individual entity.






public: virtual void ATTRIB_HH_AGGR_GEOMBUILD_BASE::


detach_redundant_attribs ();


Removes unused entity-level attributes from the individual entities of the owning body.






public: virtual void


ATTRIB_HH_AGGR_GEOMBUILD_BASE::entity_list (


ENTITY_LIST& // entities in the body


) const;


Returns the list of entities that have entity-level attributes attached.






public: virtual ATTRIB_HH_ENT*


ATTRIB_HH_AGGR_GEOMBUILD_BASE::get_attrib (


ENTITY* // entity with attribute


) const;


Returns the entity-level attribute for the specified entity.






public: virtual int


ATTRIB_HH_AGGR_GEOMBUILD_BASE::identity (


int
// derivation level



= 0


) const;


If level is unspecified or 0, returns the type identifier ATTRIB_HH_TYPE. If level is specified, returns <class>_TYPE for that level of derivation from ENTITY. The level of this class is defined as ATTRIB_HH_AGGR_GEOMBUILD_BASE_LEVEL.






public: virtual logical


ATTRIB_HH_AGGR_GEOMBUILD_BASE::is_deepcopyable () const;


Returns TRUE if this can be deep copied.






public: virtual logical


ATTRIB_HH_AGGR_GEOMBUILD_BASE::pattern_compatible () const;


Returns TRUE if this is pattern compatible.






public: void


ATTRIB_HH_AGGR_GEOMBUILD_BASE::restore_common ();


The RESTORE_DEF macro expands to the restore_common method, which is used in reading information from a SAT file. This method is never called directly. It is called by a higher hierarchical function if an item in the SAT file is determined to be of this class type. An instance of this class will already have been created through the allocation constructor. This method then populates the class instance with the appropriate data from the SAT file.


No data



This class does not save any data






public: virtual const char*


ATTRIB_HH_AGGR_GEOMBUILD_BASE::


type_name () const;


Returns the string "aggregate_geombuild_base_attribute".




Related Fncs: find_aggr_geombuild_base, is_ATTRIB_HH_AGGR_GEOMBUILD_BASE
PDF/HEAL/04CLA.PDF
HTM/DATA/HEAL/HEAL/04CLA/0006.HTM