All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SPAkern Class ATTRIB_SYS

SPAbase.ACIS_OBJECT
  |
  +---SPAkern.ENTITY
    |
    +---SPAkern.ATTRIB
      |
      +---ATTRIB_SYS
 

Usage: you must use this class as is. You should never derive it.


public class ATTRIB_SYS

Organization base attribute class for the ACIS kernel.

Role: The base class from which all attributes defined in the ACIS kernel are derived.

See also:
ATTRIB


Constructor and Destructor Index


o ATTRIB_SYS(ENTITY*)
Constructs an ATTRIB_SYS and attaches it to a given owning ENTITY.

Method Index


o identity(int)
Returns a type identifier for this object.
o lose()
Posts a delete bulletin to the bulletin board indicating this ATTRIB_SYS is no longer used in the active model.
o restore_common()
Restores this ATTRIB_SYS from a SAT file.
o type_name()
Returns the string "sys".

Constructor and Destructor


o ATTRIB_SYS
public ATTRIB_SYS(ENTITY* owner= NULL )
Constructs an ATTRIB_SYS and attaches it to a given owning ENTITY.

Role: Requests memory for this object and populates it with the data supplied as the argument. Applications should call this constructor only with the overloaded new operator inherited from the ENTITY class (for example, x = new ATTRIB_SYS(...)), because this reserves the memory on the heap, a requirement to support roll back and history management.

Parameters:
owner
the owning ENTITY for the constructed attribute.

Methods


o identity
public virtual int identity(int level= 0 )const
Returns a type identifier for this object.

Role: If level is unspecified or 0, returns the type identifier ATTRIB_SYS_TYPE. If level is specified, returns ATTRIB_SYS_TYPE for that level of derivation from ENTITY. The level of this class is defined as ATTRIB_SYS_LEVEL.

Parameters:
level
the derivation level at which the object is to be identified.
o lose
public virtual void lose()
Posts a delete bulletin to the bulletin board indicating this ATTRIB_SYS is no longer used in the active model.

Role: The lose methods for attached attributes are also called.
o restore_common
public void restore_common()
Restores this ATTRIB_SYS from a SAT file.

Role: 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
o type_name
public virtual const char* type_name()const
Returns the string "sys".

This object is included in the file: at_sys.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.