ARB
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ED4_objspec Class Reference

#include <ed4_class.hxx>

Inheritance diagram for ED4_objspec:
Inheritance graph
[legend]
Collaboration diagram for ED4_objspec:
Collaboration graph
[legend]

Public Member Functions

 ED4_objspec (ED4_properties static_prop_, ED4_level level_, ED4_level allowed_children_, ED4_level handled_level_, ED4_level restriction_level_)
 
bool is_manager () const
 
bool is_terminal () const
 
bool allowed_to_contain (ED4_level child_level) const
 
void announce_added (ED4_level child_level) const
 
ED4_level get_possible_descendants () const
 
ED4_level get_allowed_descendants () const
 
- Public Member Functions inherited from Noncopyable
 Noncopyable ()
 

Static Public Member Functions

static void init_object_specs ()
 
static void recalc_descendants ()
 

Public Attributes

ED4_properties static_prop
 
ED4_level level
 
ED4_level allowed_children
 
ED4_level handled_level
 
ED4_level restriction_level
 

Detailed Description

Definition at line 212 of file ed4_class.hxx.

Constructor & Destructor Documentation

ED4_objspec::ED4_objspec ( ED4_properties  static_prop_,
ED4_level  level_,
ED4_level  allowed_children_,
ED4_level  handled_level_,
ED4_level  restriction_level_ 
)

Member Function Documentation

void ED4_objspec::init_object_specs ( )
static

Definition at line 98 of file ED4_objspec.cxx.

References e4_assert, get_objspec_registry(), and ED4_objspec_registry::init_object_specs().

Referenced by ARB_main().

bool ED4_objspec::is_manager ( ) const
inline
bool ED4_objspec::is_terminal ( ) const
inline

Definition at line 238 of file ed4_class.hxx.

References PROP_IS_TERMINAL.

bool ED4_objspec::allowed_to_contain ( ED4_level  child_level) const
inline

Definition at line 240 of file ed4_class.hxx.

References e4_assert, and is_manager().

Referenced by announce_added(), and ED4_objspec_registry::has_manager_that_may_contain().

void ED4_objspec::announce_added ( ED4_level  child_level) const
inline

Definition at line 246 of file ed4_class.hxx.

References allowed_to_contain(), and e4_assert.

Referenced by ED4_container::append_member().

void ED4_objspec::recalc_descendants ( )
static
ED4_level ED4_objspec::get_possible_descendants ( ) const
inline

Definition at line 254 of file ed4_class.hxx.

References e4_assert, is_manager(), and recalc_descendants().

ED4_level ED4_objspec::get_allowed_descendants ( ) const
inline

Definition at line 259 of file ed4_class.hxx.

References e4_assert, is_manager(), and recalc_descendants().

Member Data Documentation

ED4_properties ED4_objspec::static_prop
ED4_level ED4_objspec::level
ED4_level ED4_objspec::allowed_children

Definition at line 225 of file ed4_class.hxx.

Referenced by ED4_objspec(), and ED4_manager::handle_move().

ED4_level ED4_objspec::handled_level
ED4_level ED4_objspec::restriction_level

Definition at line 227 of file ed4_class.hxx.

Referenced by ED4_manager::move_requested_by_child().


The documentation for this class was generated from the following files: