Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
DataValue< T > Class Template Reference

#include <Fields.h>

Public Member Functions

 DataValue (const std::string &field_name)
 
T & operator() () const
 
DataValueoperator= (const T &other)
 
T & Get () const
 
void Set (const T &other)
 

Private Attributes

T * value_
 

Detailed Description

template<typename T>
class DataValue< T >

Definition at line 86 of file Fields.h.

Constructor & Destructor Documentation

◆ DataValue()

template<typename T >
DataValue< T >::DataValue ( const std::string & field_name)
inline

Definition at line 89 of file Fields.h.

Member Function Documentation

◆ Get()

template<typename T >
T & DataValue< T >::Get ( ) const
inline

Definition at line 105 of file Fields.h.

◆ operator()()

template<typename T >
T & DataValue< T >::operator() ( ) const
inline

Definition at line 94 of file Fields.h.

◆ operator=()

template<typename T >
DataValue & DataValue< T >::operator= ( const T & other)
inline

Definition at line 99 of file Fields.h.

◆ Set()

template<typename T >
void DataValue< T >::Set ( const T & other)
inline

Definition at line 110 of file Fields.h.

Member Data Documentation

◆ value_

template<typename T >
T* DataValue< T >::value_
private

Definition at line 116 of file Fields.h.


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