GiNaC  1.6.2
Public Member Functions
GiNaC::possymbol Class Reference

Specialization of symbol to real positive domain. More...

#include <symbol.h>

Inheritance diagram for GiNaC::possymbol:
GiNaC::realsymbol GiNaC::symbol GiNaC::basic GiNaC::refcounted

List of all members.

Public Member Functions

 possymbol ()
 possymbol (const std::string &initname)
 possymbol (const std::string &initname, const std::string &texname)
unsigned get_domain () const
possymbolduplicate () const
 Create a clone of this object on the heap.

Detailed Description

Specialization of symbol to real positive domain.

Definition at line 112 of file symbol.h.


Constructor & Destructor Documentation

GiNaC::possymbol::possymbol ( )

Definition at line 60 of file symbol.cpp.

Referenced by duplicate().

GiNaC::possymbol::possymbol ( const std::string &  initname) [explicit]

Definition at line 91 of file symbol.cpp.

GiNaC::possymbol::possymbol ( const std::string &  initname,
const std::string &  texname 
)

Definition at line 93 of file symbol.cpp.


Member Function Documentation

unsigned GiNaC::possymbol::get_domain ( ) const [inline, virtual]

Reimplemented from GiNaC::realsymbol.

Definition at line 119 of file symbol.h.

References GiNaC::domain::positive.

possymbol* GiNaC::possymbol::duplicate ( ) const [inline, virtual]

Create a clone of this object on the heap.

One can think of this as simulating a virtual copy constructor which is needed for instance by the refcounted construction of an ex from a basic.

Reimplemented from GiNaC::realsymbol.

Definition at line 121 of file symbol.h.

References possymbol().


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

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.