symbol< C, V > Class Template Reference

#include <symbol.hpp>

List of all members.

Public Member Functions

Protected Attributes

Friends


Detailed Description

template<typename C, typename V = exact_eq_table>
class mmx::symbol< C, V >

Definition at line 77 of file symbol.hpp.


Constructor & Destructor Documentation

symbol ( symbol_rep< C, V > *  rep2  )  [inline]

Definition at line 92 of file symbol.hpp.

00094 {

symbol ( const symbol_rep< C, V > *  rep2,
bool  inc 
) [inline]

Definition at line 92 of file symbol.hpp.

00094 {

symbol ( const symbol< C, V > &  x  )  [inline]

Definition at line 92 of file symbol.hpp.

00094 {

~symbol (  )  [inline]

Definition at line 92 of file symbol.hpp.

00094 {

symbol ( const C ref = C()  )  [inline]

Definition at line 80 of file symbol.hpp.

00080                              {
00081     rep= Symbol_rep::get_entry (ref);
00082     if (rep == (Symbol_rep*) NULL) rep= new Symbol_rep (ref);
00083     else INC_COUNT (rep); }


Member Function Documentation

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

Definition at line 78 of file symbol.hpp.

00079 :
  symbol (const C& ref= C()) {

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

Definition at line 78 of file symbol.hpp.

00079 :
  symbol (const C& ref= C()) {

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

Definition at line 78 of file symbol.hpp.

00079 :
  symbol (const C& ref= C()) {

void* operator new ( size_t  sz  )  [inline]

Definition at line 78 of file symbol.hpp.

00079 :
  symbol (const C& ref= C()) {

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

Definition at line 78 of file symbol.hpp.

00079 :
  symbol (const C& ref= C()) {

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

Definition at line 78 of file symbol.hpp.

00079 :
  symbol (const C& ref= C()) {

const C& operator* (  )  const [inline]

Definition at line 84 of file symbol.hpp.

00084 { return rep->ref; };

const symbol_rep< C, V > * operator-> (  )  const [inline]

Definition at line 92 of file symbol.hpp.

00094 {

symbol< C, V > & operator= ( const symbol< C, V > &  x  )  [inline]

Definition at line 92 of file symbol.hpp.

00094 {

void secure (  )  [inline]

Definition at line 92 of file symbol.hpp.

00094 {


Friends And Related Function Documentation

bool exact_eq ( const symbol< C, V > &  s1,
const symbol< C, V > &  s2 
) [friend]
nat exact_hash ( const symbol< C, V > &  s  )  [friend]
bool exact_neq ( const symbol< C, V > &  s1,
const symbol< C, V > &  s2 
) [friend]
nat hash ( const symbol< C, V > &  s  )  [friend]
bool operator!= ( const symbol< C, V > &  s1,
const symbol< C, V > &  s2 
) [friend]
bool operator== ( const symbol< C, V > &  s1,
const symbol< C, V > &  s2 
) [friend]

Member Data Documentation

symbol_rep< C , V >* rep [protected]

Definition at line 78 of file symbol.hpp.

Referenced by symbol< string >::operator*(), and symbol< string >::symbol().


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1