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

Public Member Functions

 win_action (std::ostream &a_out, unsigned int a_ww, unsigned int a_wh)
 
virtual ~win_action ()
 
unsigned int ww () const
 
unsigned int wh () const
 
- 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

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

Protected Attributes

unsigned int m_ww
 
unsigned int m_wh
 
- Protected Attributes inherited from tools::sg::action
std::ostream & m_out
 

Detailed Description

Definition at line 12 of file win_action.

Constructor & Destructor Documentation

◆ win_action() [1/2]

tools::sg::win_action::win_action ( std::ostream &  a_out,
unsigned int  a_ww,
unsigned int  a_wh 
)
inline

Definition at line 15 of file win_action.

16  :parent(a_out)
17  ,m_ww(a_ww) //WARNING : we assume that we receive a not zero value.
18  ,m_wh(a_wh) //WARNING : we assume that we receive a not zero value.
19  {}

◆ ~win_action()

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

Definition at line 20 of file win_action.

20 {}

◆ win_action() [2/2]

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

Definition at line 22 of file win_action.

23  :parent(a_from)
24  ,m_ww(a_from.m_ww)
25  ,m_wh(a_from.m_wh)
26  {}

Member Function Documentation

◆ operator=()

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

Definition at line 27 of file win_action.

27  {
28  parent::operator=(a_from);
29  m_ww = a_from.m_ww;
30  m_wh = a_from.m_wh;
31  return *this;
32  }

◆ wh()

unsigned int tools::sg::win_action::wh ( ) const
inline

Definition at line 35 of file win_action.

35 {return m_wh;}

◆ ww()

unsigned int tools::sg::win_action::ww ( ) const
inline

Definition at line 34 of file win_action.

34 {return m_ww;}

Member Data Documentation

◆ m_wh

unsigned int tools::sg::win_action::m_wh
protected

Definition at line 38 of file win_action.

◆ m_ww

unsigned int tools::sg::win_action::m_ww
protected

Definition at line 37 of file win_action.


The documentation for this class was generated from the following file:
tools::sg::win_action::m_wh
unsigned int m_wh
Definition: win_action:38
tools::sg::win_action::m_ww
unsigned int m_ww
Definition: win_action:37