literal Class Reference

#include <literal.hpp>

List of all members.

Public Member Functions

Public Attributes

Friends


Detailed Description

Definition at line 26 of file literal.hpp.


Constructor & Destructor Documentation

literal (  )  [inline]

Definition at line 34 of file literal.hpp.

00034 : s (""), sym (s) {}

literal ( const char *  s2  )  [inline]

Definition at line 35 of file literal.hpp.

00035 : s (string (s2)), sym (s) {}

literal ( const string s2  )  [inline]

Definition at line 36 of file literal.hpp.

00036 : s (s2), sym (s) {}

literal ( const literal l  )  [inline]

Definition at line 37 of file literal.hpp.

00037 : s (l.s), sym (l.sym) {}

literal ( const symbol< string > &  sym2  )  [inline]

Definition at line 38 of file literal.hpp.

00038 : s (*sym2), sym (sym2) {}


Member Function Documentation

void operator delete ( void *  ptr,
size_t  sz 
) [inline]

Definition at line 27 of file literal.hpp.

00030 :
  inline string operator * () const { return s; }

void operator delete[] ( void *  ptr,
size_t  sz 
) [inline]

Definition at line 27 of file literal.hpp.

00030 :
  inline string operator * () const { return s; }

void* operator new ( size_t  sz,
void *  where 
) [inline]

Definition at line 27 of file literal.hpp.

00030 :
  inline string operator * () const { return s; }

void* operator new ( size_t  sz  )  [inline]

Definition at line 27 of file literal.hpp.

00030 :
  inline string operator * () const { return s; }

void* operator new[] ( size_t  sz,
void *  where 
) [inline]

Definition at line 27 of file literal.hpp.

00030 :
  inline string operator * () const { return s; }

void* operator new[] ( size_t  sz  )  [inline]

Definition at line 27 of file literal.hpp.

00030 :
  inline string operator * () const { return s; }

string operator* (  )  const [inline]

Definition at line 31 of file literal.hpp.

References literal::s.

00031 { return s; }


Friends And Related Function Documentation

string as_string ( const literal l  )  [friend]

Definition at line 32 of file literal.hpp.

00032 { return l.s; }

symbol<string> as_symbol ( const literal s  )  [friend]

Definition at line 33 of file literal.hpp.

00033 { return s.sym; }


Member Data Documentation

Definition at line 28 of file literal.hpp.

Referenced by literal::operator*().

Definition at line 29 of file literal.hpp.


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1