CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
RE::BSScript::Variable Class Reference

#include <Variable.h>

Classes

union  Value
 

Public Member Functions

 Variable ()
 
 Variable (const TypeInfo &a_type)
 
 Variable (const Variable &a_rhs)
 
 Variable (Variable &&a_rhs)
 
 ~Variable ()
 
Variableoperator= (const Variable &a_rhs)
 
Variableoperator= (Variable &&a_rhs)
 
bool operator== (const Variable &a_rhs) const
 
bool operator!= (const Variable &a_rhs) const
 
bool operator< (const Variable &a_rhs) const
 
bool operator> (const Variable &a_rhs) const
 
bool operator<= (const Variable &a_rhs) const
 
bool operator>= (const Variable &a_rhs) const
 
bool IsArray () const
 
bool IsBool () const
 
bool IsFloat () const
 
bool IsInt () const
 
bool IsLiteralArray () const
 
bool IsNoneArray () const
 
bool IsNoneObject () const
 
bool IsObject (void) const
 
bool IsObjectArray () const
 
bool IsString () const
 
std::int32_t GetSInt () const
 
std::uint32_t GetUInt () const
 
float GetFloat () const
 
bool GetBool () const
 
BSTSmartPointer< ArrayGetArray () const
 
BSTSmartPointer< ObjectGetObject () const
 
std::string_view GetString () const
 
void SetNone ()
 
void SetSInt (std::int32_t a_val)
 
void SetUInt (std::uint32_t a_val)
 
void SetFloat (float a_val)
 
void SetBool (bool a_val)
 
void SetArray (BSTSmartPointer< Array > a_val)
 
void SetObject (BSTSmartPointer< Object > a_val)
 
void SetObject (BSTSmartPointer< Object > a_val, TypeInfo::RawType a_type)
 
void SetString (std::string_view a_val)
 
template<class T >
void Pack (T &&a_src)
 
template<class T >
Unpack () const
 

Constructor & Destructor Documentation

◆ Variable() [1/4]

RE::BSScript::Variable::Variable ( )

◆ Variable() [2/4]

RE::BSScript::Variable::Variable ( const TypeInfo a_type)

◆ Variable() [3/4]

RE::BSScript::Variable::Variable ( const Variable a_rhs)

◆ Variable() [4/4]

RE::BSScript::Variable::Variable ( Variable &&  a_rhs)

◆ ~Variable()

RE::BSScript::Variable::~Variable ( )

Member Function Documentation

◆ GetArray()

BSTSmartPointer< Array > RE::BSScript::Variable::GetArray ( ) const

◆ GetBool()

bool RE::BSScript::Variable::GetBool ( ) const

◆ GetFloat()

float RE::BSScript::Variable::GetFloat ( ) const

◆ GetObject()

BSTSmartPointer< Object > RE::BSScript::Variable::GetObject ( ) const

◆ GetSInt()

std::int32_t RE::BSScript::Variable::GetSInt ( ) const

◆ GetString()

std::string_view RE::BSScript::Variable::GetString ( ) const

◆ GetUInt()

std::uint32_t RE::BSScript::Variable::GetUInt ( ) const

◆ IsArray()

bool RE::BSScript::Variable::IsArray ( ) const

◆ IsBool()

bool RE::BSScript::Variable::IsBool ( ) const

◆ IsFloat()

bool RE::BSScript::Variable::IsFloat ( ) const

◆ IsInt()

bool RE::BSScript::Variable::IsInt ( ) const

◆ IsLiteralArray()

bool RE::BSScript::Variable::IsLiteralArray ( ) const

◆ IsNoneArray()

bool RE::BSScript::Variable::IsNoneArray ( ) const

◆ IsNoneObject()

bool RE::BSScript::Variable::IsNoneObject ( ) const

◆ IsObject()

bool RE::BSScript::Variable::IsObject ( void  ) const

◆ IsObjectArray()

bool RE::BSScript::Variable::IsObjectArray ( ) const

◆ IsString()

bool RE::BSScript::Variable::IsString ( ) const

◆ operator!=()

bool RE::BSScript::Variable::operator!= ( const Variable a_rhs) const

◆ operator<()

bool RE::BSScript::Variable::operator< ( const Variable a_rhs) const

◆ operator<=()

bool RE::BSScript::Variable::operator<= ( const Variable a_rhs) const

◆ operator=() [1/2]

Variable & RE::BSScript::Variable::operator= ( const Variable a_rhs)

◆ operator=() [2/2]

Variable & RE::BSScript::Variable::operator= ( Variable &&  a_rhs)

◆ operator==()

bool RE::BSScript::Variable::operator== ( const Variable a_rhs) const

◆ operator>()

bool RE::BSScript::Variable::operator> ( const Variable a_rhs) const

◆ operator>=()

bool RE::BSScript::Variable::operator>= ( const Variable a_rhs) const

◆ Pack()

template<class T >
void RE::BSScript::Variable::Pack ( T &&  a_src)
inline

◆ SetArray()

void RE::BSScript::Variable::SetArray ( BSTSmartPointer< Array a_val)

◆ SetBool()

void RE::BSScript::Variable::SetBool ( bool  a_val)

◆ SetFloat()

void RE::BSScript::Variable::SetFloat ( float  a_val)

◆ SetNone()

void RE::BSScript::Variable::SetNone ( )

◆ SetObject() [1/2]

void RE::BSScript::Variable::SetObject ( BSTSmartPointer< Object a_val)

◆ SetObject() [2/2]

void RE::BSScript::Variable::SetObject ( BSTSmartPointer< Object a_val,
TypeInfo::RawType  a_type 
)

◆ SetSInt()

void RE::BSScript::Variable::SetSInt ( std::int32_t  a_val)

◆ SetString()

void RE::BSScript::Variable::SetString ( std::string_view  a_val)

◆ SetUInt()

void RE::BSScript::Variable::SetUInt ( std::uint32_t  a_val)

◆ Unpack()

template<class T >
T RE::BSScript::Variable::Unpack
inline

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