basix_doc 0.1
syntactic Class Reference

#include <syntactic.hpp>

List of all members.

Public Member Functions

Protected Member Functions

Protected Attributes

Friends


Detailed Description

Definition at line 25 of file syntactic.hpp.


Constructor & Destructor Documentation

syntactic ( const generic g) [inline, protected]

Definition at line 29 of file syntactic.hpp.

: rep (g) {}
syntactic ( ) [inline]

Definition at line 31 of file syntactic.hpp.

Referenced by syntactic::operator[]().

: rep () {}
syntactic ( const char *  s) [inline]

Definition at line 32 of file syntactic.hpp.

: rep (s) {}
syntactic ( const string s) [inline]

Definition at line 33 of file syntactic.hpp.

: rep (s) {}
syntactic ( const int &  i)

Definition at line 24 of file syntactic.cpp.

: rep (as_string (i)) {}

Member Function Documentation

generic operator* ( ) const [inline]

Definition at line 35 of file syntactic.hpp.

References syntactic::rep.

{ return rep; }
syntactic operator[] ( nat  i) const [inline]

Definition at line 38 of file syntactic.hpp.

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

{ return syntactic (rep[i]); }

Friends And Related Function Documentation

syntactic as_syntactic ( const generic g) [friend]

Definition at line 50 of file syntactic.hpp.

{ return syntactic (g); }
nat N ( const syntactic g) [friend]

Definition at line 37 of file syntactic.hpp.

{ return N (g.rep); }

Member Data Documentation

generic rep [protected]

Definition at line 28 of file syntactic.hpp.

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


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines