Purpose:
|
Holds global information about annotations, including settings and a list of them.
|
|
Derivation:
|
annotation_ctx : ACIS_OBJECT : -
|
|
Filename:
|
kern/kernel/kerndata/data/anno_ctx.hxx
|
|
References:
|
KERN
|
ENTITY_LIST
|
|
Constructor:
|
public: annotation_ctx::annotation_ctx
();
|
|
|
C++ constructor.
|
|
|
|
|
Destructor:
|
public: annotation_ctx::~annotation_ctx
();
|
|
|
C++ destructor.
|
|
|
|
Methods:
|
public: logical& annotation_ctx::annotations
();
|
|
|
Allows reading the annotation control flags. These flags are not currently used.
|
|
|
|
|
|
|
public: void annotation_ctx::clear
();
|
|
|
Deletes memory pointed to and sets pointers to NULL in all context objects in the list.
|
|
|
|
|
|
|
public: void annotation_ctx::clear_no_dtors
();
|
|
|
Sets pointers to NULL without deleting, in all context objects in the list.
|
|
|
|
|
|
|
public: logical&
|
|
|
annotation_ctx::error_no_input_tag ();
|
|
|
Controls whether or not an error occurs if inputs are not tagged. If this option is on (true), inputs must by tagged (by adding an
ATTRIB_TAG or an entity derived from it) by the caller before calling the ACIS operation. If not tagged, a
sys_error occurs when creating an annotation that references the input. This can be a useful debugging tool. If this option is off (false), tags are generated as needed.
|
|
|
|
|
|
|
public: int annotation_ctx::get_access
();
|
|
|
Returns the access count.
|
|
|
|
|
|
|
public: void annotation_ctx::inc_access
();
|
|
|
Increment the access count.
|
|
|
|
|
|
|
public: ENTITY_LIST* annotation_ctx::list
();
|
|
|
Get the global list of annotations.
|
|
|
|
|
|
|
public: logical&
|
|
|
annotation_ctx::unhook_annotations ();
|
|
|
Controls whether annotations are automatically unhooked from their entities. If this option is on (true), annotations are automatically unhooked from their entities at the outermost
API_END enclosing an operation. This is done by losing all
ANNOTATION_ATTRIBs, as in API function
api_unhook_annotations.
|