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

Public Member Functions

virtual io::iwbufbuffer ()=0
 
virtual bool beg_node (const node &)=0
 
virtual bool end_node (const node &)=0
 
virtual bool switch_do_all_children ()
 
virtual unsigned int protocol () const =0
 
 write_action (std::ostream &a_out)
 
virtual ~write_action ()
 
- Public Member Functions inherited from tools::sg::action
virtual void * cast (const std::string &a_class) const
 
virtual const std::string & s_cls () const =0
 
 action (std::ostream &a_out)
 
virtual ~action ()
 
std::ostream & out () const
 

Protected Member Functions

 write_action (const write_action &a_from)
 
write_actionoperator= (const write_action &a_from)
 
- Protected Member Functions inherited from tools::sg::action
 action (const action &a_from)
 
actionoperator= (const action &)
 

Additional Inherited Members

- Protected Attributes inherited from tools::sg::action
std::ostream & m_out
 

Detailed Description

Definition at line 21 of file write_action.

Constructor & Destructor Documentation

◆ write_action() [1/2]

tools::sg::write_action::write_action ( std::ostream &  a_out)
inline

Definition at line 31 of file write_action.

32  :parent(a_out){}

◆ ~write_action()

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

Definition at line 33 of file write_action.

33 {}

◆ write_action() [2/2]

tools::sg::write_action::write_action ( const write_action a_from)
inlineprotected

Definition at line 35 of file write_action.

36  :parent(a_from)
37  {}

Member Function Documentation

◆ beg_node()

virtual bool tools::sg::write_action::beg_node ( const node )
pure virtual

◆ buffer()

virtual io::iwbuf& tools::sg::write_action::buffer ( )
pure virtual

◆ end_node()

virtual bool tools::sg::write_action::end_node ( const node )
pure virtual

◆ operator=()

write_action& tools::sg::write_action::operator= ( const write_action a_from)
inlineprotected

Definition at line 38 of file write_action.

38  {
39  parent::operator=(a_from);
40  return *this;
41  }

◆ protocol()

virtual unsigned int tools::sg::write_action::protocol ( ) const
pure virtual

◆ switch_do_all_children()

virtual bool tools::sg::write_action::switch_do_all_children ( )
inlinevirtual

Definition at line 28 of file write_action.

28 {return true;}

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