Elevate Engine 1
Loading...
Searching...
No Matches
Elevate::ComponentLayout Class Reference

#include <ComponentLayout.h>

Public Member Functions

 ComponentLayout ()=default
 
 ComponentLayout (const std::string &name, std::initializer_list< ComponentField > fields)
 
 ComponentLayout (const std::string &name, std::vector< ComponentField > &fields)
 
std::vector< ComponentField >::iterator begin ()
 
std::vector< ComponentField >::iterator end ()
 
std::vector< ComponentField >::const_iterator begin () const
 
std::vector< ComponentField >::const_iterator end () const
 
size_t GetFieldCount () const
 
const std::vector< ComponentField > & GetFields () const
 
const std::string & GetName () const
 

Detailed Description

Definition at line 110 of file ComponentLayout.h.

Constructor & Destructor Documentation

◆ ComponentLayout() [1/3]

Elevate::ComponentLayout::ComponentLayout ( )
default

◆ ComponentLayout() [2/3]

Elevate::ComponentLayout::ComponentLayout ( const std::string &  name,
std::initializer_list< ComponentField fields 
)
inline

Definition at line 114 of file ComponentLayout.h.

114: m_name(name), m_fields(fields) { }

◆ ComponentLayout() [3/3]

Elevate::ComponentLayout::ComponentLayout ( const std::string &  name,
std::vector< ComponentField > &  fields 
)
inline

Definition at line 115 of file ComponentLayout.h.

115: m_name(name), m_fields(fields) { }

Member Function Documentation

◆ begin() [1/2]

std::vector< ComponentField >::iterator Elevate::ComponentLayout::begin ( )
inline

Definition at line 118 of file ComponentLayout.h.

118{ return m_fields.begin(); }

◆ begin() [2/2]

std::vector< ComponentField >::const_iterator Elevate::ComponentLayout::begin ( ) const
inline

Definition at line 120 of file ComponentLayout.h.

120{ return m_fields.begin(); }

◆ end() [1/2]

std::vector< ComponentField >::iterator Elevate::ComponentLayout::end ( )
inline

Definition at line 119 of file ComponentLayout.h.

119{ return m_fields.end(); }

◆ end() [2/2]

std::vector< ComponentField >::const_iterator Elevate::ComponentLayout::end ( ) const
inline

Definition at line 121 of file ComponentLayout.h.

121{ return m_fields.end(); }

◆ GetFieldCount()

size_t Elevate::ComponentLayout::GetFieldCount ( ) const
inline

Definition at line 122 of file ComponentLayout.h.

122{ return m_fields.size(); }

◆ GetFields()

const std::vector< ComponentField > & Elevate::ComponentLayout::GetFields ( ) const
inline

Definition at line 123 of file ComponentLayout.h.

123{ return m_fields; }

◆ GetName()

const std::string & Elevate::ComponentLayout::GetName ( ) const
inline

Definition at line 126 of file ComponentLayout.h.

126{ return m_name; }

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