XGC1
Public Types | Public Member Functions | Public Attributes | List of all members
IOScalar< T > Struct Template Reference

#include <xgc_io.hpp>

Inheritance diagram for IOScalar< T >:
Inheritance graph
[legend]
Collaboration diagram for IOScalar< T >:
Collaboration graph
[legend]

Public Types

using value_type = T
 

Public Member Functions

 IOScalar (const std::string &name_in, T &value_in)
 
 IOScalar (const std::string &name_in, const T &value_in)
 
- Public Member Functions inherited from IOData
virtual ~IOData ()
 

Public Attributes

std::string name
 
value_typevalue_addr
 
value_type value
 
bool var_is_const
 

Member Typedef Documentation

◆ value_type

template<class T >
using IOScalar< T >::value_type = T

Constructor & Destructor Documentation

◆ IOScalar() [1/2]

template<class T >
IOScalar< T >::IOScalar ( const std::string &  name_in,
T &  value_in 
)
inline

◆ IOScalar() [2/2]

template<class T >
IOScalar< T >::IOScalar ( const std::string &  name_in,
const T &  value_in 
)
inline

Member Data Documentation

◆ name

template<class T >
std::string IOScalar< T >::name

◆ value

template<class T >
value_type IOScalar< T >::value

◆ value_addr

template<class T >
value_type* IOScalar< T >::value_addr

◆ var_is_const

template<class T >
bool IOScalar< T >::var_is_const

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