g4tools  5.4.0
Public Member Functions | Protected Attributes | List of all members
tools::sg::base_holder Class Reference
Inheritance diagram for tools::sg::base_holder:
Inheritance graph
[legend]
Collaboration diagram for tools::sg::base_holder:
Collaboration graph
[legend]

Public Member Functions

 base_holder (const std::string &a_name)
 
virtual ~base_holder ()
 
 base_holder (const base_holder &a_from)
 
base_holderoperator= (const base_holder &a_from)
 
const std::string & name () const
 
- Public Member Functions inherited from tools::sg::node
virtual void * cast (const std::string &a_class) const
 
virtual const std::string & s_cls () const =0
 
virtual nodecopy () const =0
 
virtual unsigned int cls_version () const
 
virtual const desc_fieldsnode_desc_fields () const
 
virtual void render (render_action &)
 
virtual void pick (pick_action &)
 
virtual void bbox (bbox_action &)
 
virtual void search (search_action &a_action)
 
virtual void get_matrix (get_matrix_action &a_action)
 
virtual bool write (write_action &a_action)
 
virtual void event (event_action &)
 
virtual bool read (read_action &a_action)
 
virtual void is_visible (visible_action &)
 
virtual void protocol_one_fields (std::vector< field * > &a_fields) const
 
virtual bool draw_in_frame_buffer () const
 
virtual bool touched ()
 
virtual void reset_touched ()
 
 node ()
 
virtual ~node ()
 
void touch ()
 
fieldfield_from_desc (const field_desc &a_desc) const
 
void dump_field_descs (std::ostream &a_out) const
 
fieldfind_field_by_name (const std::string &a_name) const
 

Protected Attributes

std::string m_name
 

Additional Inherited Members

- Protected Member Functions inherited from tools::sg::node
 node (const node &)
 
nodeoperator= (const node &)
 
void add_field (field *a_field)
 
bool write_fields (write_action &a_action)
 
bool read_fields (read_action &a_action)
 
field_desc::offset_t field_offset (const field *a_field) const
 
fieldfind_field (const field_desc &a_rdesc) const
 
void check_fields (std::ostream &a_out) const
 

Detailed Description

Definition at line 18 of file holder.

Constructor & Destructor Documentation

◆ base_holder() [1/2]

tools::sg::base_holder::base_holder ( const std::string &  a_name)
inline

Definition at line 21 of file holder.

21 :parent(),m_name(a_name) {}

◆ ~base_holder()

virtual tools::sg::base_holder::~base_holder ( )
inlinevirtual

Definition at line 22 of file holder.

22 {}

◆ base_holder() [2/2]

tools::sg::base_holder::base_holder ( const base_holder a_from)
inline

Definition at line 24 of file holder.

24 :parent(a_from),m_name(a_from.m_name) {}

Member Function Documentation

◆ name()

const std::string& tools::sg::base_holder::name ( ) const
inline

Definition at line 31 of file holder.

31 {return m_name;}

◆ operator=()

base_holder& tools::sg::base_holder::operator= ( const base_holder a_from)
inline

Definition at line 25 of file holder.

25  {
26  parent::operator=(a_from);
27  m_name = a_from.m_name;
28  return *this;
29  }

Member Data Documentation

◆ m_name

std::string tools::sg::base_holder::m_name
protected

Definition at line 33 of file holder.


The documentation for this class was generated from the following file:
tools::sg::base_holder::m_name
std::string m_name
Definition: holder:33