CommonLibSSE (Parapets fork)
RE::BSScript::TypeInfo Class Reference

#include <TypeInfo.h>

Public Types

enum class  RawType : std::size_t {
  kNone = 0 , kObject = 1 , kString = 2 , kInt = 3 ,
  kFloat = 4 , kBool = 5 , kNoneArray = 10 , kObjectArray = 11 ,
  kStringArray = 12 , kIntArray = 13 , kFloatArray = 14 , kBoolArray = 15 ,
  kArraysEnd
}
 

Public Member Functions

 TypeInfo ()
 
 TypeInfo (RawType a_type)
 
 TypeInfo (const TypeInfo &a_rhs)
 
 TypeInfo (TypeInfo &&a_rhs)
 
TypeInfooperator= (const TypeInfo &a_rhs)
 
TypeInfooperator= (TypeInfo &&a_rhs)
 
TypeInfooperator= (RawType a_rhs)
 
RawType GetRawType () const
 
ObjectTypeInfoGetTypeInfo () const
 
RawType GetUnmangledRawType () const
 
bool IsArray () const
 
bool IsBool () const
 
bool IsFloat () const
 
bool IsInt () const
 
bool IsLiteralArray () const
 
bool IsNoneArray () const
 
bool IsNoneObject () const
 
bool IsObject () const
 
bool IsObjectArray () const
 
bool IsString () const
 
void SetType (RawType a_type)
 

Protected Attributes

stl::enumeration< RawType, std::size_t > _rawType
 

Friends

bool operator== (const TypeInfo &a_lhs, const TypeInfo &a_rhs)
 
bool operator!= (const TypeInfo &a_lhs, const TypeInfo &a_rhs)
 
bool operator< (const TypeInfo &a_lhs, const TypeInfo &a_rhs)
 
bool operator<= (const TypeInfo &a_lhs, const TypeInfo &a_rhs)
 
bool operator> (const TypeInfo &a_lhs, const TypeInfo &a_rhs)
 
bool operator>= (const TypeInfo &a_lhs, const TypeInfo &a_rhs)
 

Member Enumeration Documentation

◆ RawType

enum RE::BSScript::TypeInfo::RawType : std::size_t
strong
Enumerator
kNone 
kObject 
kString 
kInt 
kFloat 
kBool 
kNoneArray 
kObjectArray 
kStringArray 
kIntArray 
kFloatArray 
kBoolArray 
kArraysEnd 

Constructor & Destructor Documentation

◆ TypeInfo() [1/4]

RE::BSScript::TypeInfo::TypeInfo ( )

◆ TypeInfo() [2/4]

RE::BSScript::TypeInfo::TypeInfo ( RawType  a_type)
explicit

◆ TypeInfo() [3/4]

RE::BSScript::TypeInfo::TypeInfo ( const TypeInfo a_rhs)

◆ TypeInfo() [4/4]

RE::BSScript::TypeInfo::TypeInfo ( TypeInfo &&  a_rhs)

Member Function Documentation

◆ GetRawType()

RawType RE::BSScript::TypeInfo::GetRawType ( ) const

◆ GetTypeInfo()

ObjectTypeInfo* RE::BSScript::TypeInfo::GetTypeInfo ( ) const

◆ GetUnmangledRawType()

RawType RE::BSScript::TypeInfo::GetUnmangledRawType ( ) const

◆ IsArray()

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

◆ IsBool()

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

◆ IsFloat()

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

◆ IsInt()

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

◆ IsLiteralArray()

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

◆ IsNoneArray()

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

◆ IsNoneObject()

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

◆ IsObject()

bool RE::BSScript::TypeInfo::IsObject ( ) const

◆ IsObjectArray()

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

◆ IsString()

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

◆ operator=() [1/3]

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

◆ operator=() [2/3]

TypeInfo& RE::BSScript::TypeInfo::operator= ( RawType  a_rhs)

◆ operator=() [3/3]

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

◆ SetType()

void RE::BSScript::TypeInfo::SetType ( RawType  a_type)

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const TypeInfo a_lhs,
const TypeInfo a_rhs 
)
friend

◆ operator<

bool operator< ( const TypeInfo a_lhs,
const TypeInfo a_rhs 
)
friend

◆ operator<=

bool operator<= ( const TypeInfo a_lhs,
const TypeInfo a_rhs 
)
friend

◆ operator==

bool operator== ( const TypeInfo a_lhs,
const TypeInfo a_rhs 
)
friend

◆ operator>

bool operator> ( const TypeInfo a_lhs,
const TypeInfo a_rhs 
)
friend

◆ operator>=

bool operator>= ( const TypeInfo a_lhs,
const TypeInfo a_rhs 
)
friend

Member Data Documentation

◆ _rawType

stl::enumeration<RawType, std::size_t> RE::BSScript::TypeInfo::_rawType
protected

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