GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
ChaiScript_Language::Type_Info Class Reference

#include <chaiscript_prelude_docs.hpp>

Public Member Functions

bool bare_equal (Type_Info t_ti) const
 Compares this Type_Info object with another one and returns true if the two types are the same after const, pointer, reference are removed.
string cpp_bare_name () const
 Returns the mangled C++ name for the type given by the compiler after const, pointer, reference is removed.
string cpp_name () const
 Returns the mangled C++ name for the type given by the compiler.
bool is_type_const () const
 Returns true if the type is const.
bool is_type_pointer () const
 Returns true if the type is a pointer.
bool is_type_reference () const
 Returns true if the type is a reference.
bool is_type_undef () const
 Returns true if the type is undefined.
bool is_type_void () const
 Returns true if the type is "void".
string name () const
 Returns the ChaiScript registered name for the type if one exists.

Member Function Documentation

◆ bare_equal()

bool ChaiScript_Language::Type_Info::bare_equal ( Type_Info t_ti) const

Compares this Type_Info object with another one and returns true if the two types are the same after const, pointer, reference are removed.

◆ cpp_bare_name()

string ChaiScript_Language::Type_Info::cpp_bare_name ( ) const

Returns the mangled C++ name for the type given by the compiler after const, pointer, reference is removed.

◆ cpp_name()

string ChaiScript_Language::Type_Info::cpp_name ( ) const

Returns the mangled C++ name for the type given by the compiler.

◆ is_type_const()

bool ChaiScript_Language::Type_Info::is_type_const ( ) const

Returns true if the type is const.

◆ is_type_pointer()

bool ChaiScript_Language::Type_Info::is_type_pointer ( ) const

Returns true if the type is a pointer.

◆ is_type_reference()

bool ChaiScript_Language::Type_Info::is_type_reference ( ) const

Returns true if the type is a reference.

◆ is_type_undef()

bool ChaiScript_Language::Type_Info::is_type_undef ( ) const

Returns true if the type is undefined.

◆ is_type_void()

bool ChaiScript_Language::Type_Info::is_type_void ( ) const

Returns true if the type is "void".

◆ name()

string ChaiScript_Language::Type_Info::name ( ) const

Returns the ChaiScript registered name for the type if one exists.


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