document Class Reference

#include <document.hpp>

List of all members.

Public Member Functions

Protected Member Functions

Protected Attributes

Friends


Detailed Description

Definition at line 27 of file document.hpp.


Constructor & Destructor Documentation

document ( const generic g  )  [inline, protected]

Definition at line 31 of file document.hpp.

00031 : rep (g) {}

document (  )  [inline]

Definition at line 33 of file document.hpp.

Referenced by document::operator[]().

00033 : rep () {}

document ( const char *  s  ) 

Definition at line 27 of file document.cpp.

00027 : rep (documentify (s)) {}

document ( const string s  ) 

Definition at line 28 of file document.cpp.

00028 : rep (documentify (s)) {}


Member Function Documentation

generic operator* (  )  const [inline]

Definition at line 36 of file document.hpp.

References document::rep.

00036 { return rep; }

document operator[] ( nat  i  )  const [inline]

Definition at line 39 of file document.hpp.

References document::document(), and document::rep.

00039 { return document (rep[i]); }


Friends And Related Function Documentation

document as_document ( const generic g  )  [friend]

Definition at line 47 of file document.hpp.

00047 { return document (g); }

nat N ( const document g  )  [friend]

Definition at line 38 of file document.hpp.

00038 { return N (g.rep); }


Member Data Documentation

generic rep [protected]

Definition at line 30 of file document.hpp.

Referenced by document::operator*(), and document::operator[]().


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1