g4tools  5.4.0
Public Member Functions | Protected Attributes | List of all members
tools::sg::node_desc Class Reference

Public Member Functions

 node_desc ()
 
 node_desc (const std::string &a_class, unsigned int a_version, const std::vector< field_desc > &a_fds)
 
virtual ~node_desc ()
 
 node_desc (const node_desc &a_from)
 
node_descoperator= (const node_desc &a_from)
 
const std::string & cls () const
 
unsigned int version () const
 
const std::vector< field_desc > & fields () const
 

Protected Attributes

std::string m_class
 
unsigned int m_version
 
std::vector< field_descm_fds
 

Detailed Description

Definition at line 13 of file node_desc.

Constructor & Destructor Documentation

◆ node_desc() [1/3]

tools::sg::node_desc::node_desc ( )
inline

Definition at line 15 of file node_desc.

16  :m_class()
17  ,m_version(0)
18  ,m_fds()
19  {}

◆ node_desc() [2/3]

tools::sg::node_desc::node_desc ( const std::string &  a_class,
unsigned int  a_version,
const std::vector< field_desc > &  a_fds 
)
inline

Definition at line 20 of file node_desc.

22  :m_class(a_class)
23  ,m_version(a_version)
24  ,m_fds(a_fds)
25  {}

◆ ~node_desc()

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

Definition at line 26 of file node_desc.

26 {}

◆ node_desc() [3/3]

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

Definition at line 28 of file node_desc.

29  :m_class(a_from.m_class)
30  ,m_version(a_from.m_version)
31  ,m_fds(a_from.m_fds)
32  {}

Member Function Documentation

◆ cls()

const std::string& tools::sg::node_desc::cls ( ) const
inline

Definition at line 40 of file node_desc.

40 {return m_class;}

◆ fields()

const std::vector<field_desc>& tools::sg::node_desc::fields ( ) const
inline

Definition at line 42 of file node_desc.

42 {return m_fds;}

◆ operator=()

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

Definition at line 33 of file node_desc.

33  {
34  m_class = a_from.m_class;
35  m_version = a_from.m_version;
36  m_fds = a_from.m_fds;
37  return *this;
38  }

◆ version()

unsigned int tools::sg::node_desc::version ( ) const
inline

Definition at line 41 of file node_desc.

41 {return m_version;}

Member Data Documentation

◆ m_class

std::string tools::sg::node_desc::m_class
protected

Definition at line 44 of file node_desc.

◆ m_fds

std::vector<field_desc> tools::sg::node_desc::m_fds
protected

Definition at line 46 of file node_desc.

◆ m_version

unsigned int tools::sg::node_desc::m_version
protected

Definition at line 45 of file node_desc.


The documentation for this class was generated from the following file:
tools::sg::node_desc::m_version
unsigned int m_version
Definition: node_desc:45
tools::sg::node_desc::m_fds
std::vector< field_desc > m_fds
Definition: node_desc:46
tools::sg::node_desc::m_class
std::string m_class
Definition: node_desc:44