hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
hobbes::TString Class Reference

#include <type.H>

Inheritance diagram for hobbes::TString:
Inheritance graph
Collaboration diagram for hobbes::TString:
Collaboration graph

Public Member Functions

void show (std::ostream &out) const
 
const std::string & value () const
 
- Public Member Functions inherited from hobbes::MonoTypeCase< TString >
 MonoTypeCase ()
 
- Public Member Functions inherited from hobbes::MonoType
virtual ~MonoType ()
 
bool operator== (const MonoType &rhs) const
 
int case_id () const
 
template<typename Class , typename T , typename ... Args>
MonoTypePtr makeType (const Args &... args)
 

Static Public Member Functions

static MonoTypePtr make (const std::string &)
 

Static Public Attributes

static const int type_case_id = 10
 

Private Member Functions

 TString (const std::string &)
 

Private Attributes

std::string val
 

Friends

class MonoType
 

Additional Inherited Members

- Public Types inherited from hobbes::MonoType
typedef std::shared_ptr< MonoTypeptr
 
typedef std::set< std::string > TypeVarNames
 
- Public Attributes inherited from hobbes::MonoType
TypeVarNames freeTVars
 
int tgenCount
 
unsigned int memorySize
 
ptr unaliasedType
 
- Protected Member Functions inherited from hobbes::MonoType
 MonoType (int cid)
 
- Static Protected Member Functions inherited from hobbes::MonoType
template<typename Class , typename T , typename ... Args>
static ptr makeType (const Args &... args)
 

Constructor & Destructor Documentation

◆ TString()

hobbes::TString::TString ( const std::string &  val)
private

Member Function Documentation

◆ make()

MonoTypePtr hobbes::TString::make ( const std::string &  x)
static

◆ show()

void hobbes::TString::show ( std::ostream &  out) const
virtual

Implements hobbes::MonoType.

◆ value()

const std::string & hobbes::TString::value ( ) const

Friends And Related Function Documentation

◆ MonoType

friend class MonoType
friend

Member Data Documentation

◆ type_case_id

const int hobbes::TString::type_case_id = 10
static

◆ val

std::string hobbes::TString::val
private

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