All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SPAkern Class ATTRIB_TSL

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

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


public class ATTRIB_TSL

This is an organization base class from which other classes are derived.

Role: It is never instantiated.

See also:
ATTRIB


Constructor and Destructor Index


o ATTRIB_TSL(ENTITY*)
C++ constructor requests memory for this object and populates it with the data supplied as arguments.

Method Index


o debug_ent(FILE*)
Prints the type and address of this object, roll back pointer, attributes, and any unknown subtype information to the specified file.
o identity(int)
If level is unspecified or 0, returns the type identifier ATTRIB_TSL_TYPE.
o is_deepcopyable()
Returns TRUE if this can be deep copied.
o lose()
Posts a delete bulletin to the bulletin board indicating the instance is no longer used in the active model.
o restore_common()
This method is never called directly.
o type_name()
Returns the string "tsl".

Constructor and Destructor


o ATTRIB_TSL
public ATTRIB_TSL(ENTITY* owner= NULL )
C++ constructor requests memory for this object and populates it with the data supplied as arguments.

Role: Applications should call this constructor only with the overloaded new operator inherited from the ENTITY class (for example, x=new ATTRIB_TSL(...)), because this reserves the memory on the heap, a requirement to support roll back and history management.

Parameters:
owner
owner.

Methods


o debug_ent
public virtual void debug_ent(FILE* file_ptr)const
Prints the type and address of this object, roll back pointer, attributes, and any unknown subtype information to the specified file.

Role: Refer to the ENTITY class for more details.

Parameters:
file_ptr
file pointer.
o identity
public virtual int identity(int level= 0 )const
If level is unspecified or 0, returns the type identifier ATTRIB_TSL_TYPE.

Role: If level is specified, returns ATTRIB_TSL_TYPE for that level of derivation from ENTITY. The level of this class is defined as ATTRIB_TSL_LEVEL.

Parameters:
level
level.
o is_deepcopyable
public virtual logical is_deepcopyable()const
Returns TRUE if this can be deep copied.
o lose
public virtual void lose()
Posts a delete bulletin to the bulletin board indicating the instance 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()
This method is never called directly.

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

This object is included in the file: at_tsl.hxx

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