Public Member Functions | Private Attributes | List of all members
Formula Class Reference

#include <formula.h>

Public Member Functions

 Formula (const char *text)
 
 ~Formula ()
 
int getId ()
 
QCString getFormulaText () const
 

Private Attributes

int number
 
QCString form
 

Detailed Description

Class representing a formula in the output.

Definition at line 25 of file formula.h.

Constructor & Destructor Documentation

Formula::Formula ( const char *  text)

Definition at line 33 of file formula.cpp.

34 {
35  static int count=0;
36  number = count++;
37  form=text;
38 }
int number
Definition: formula.h:34
QCString form
Definition: formula.h:35
Formula::~Formula ( )

Definition at line 40 of file formula.cpp.

41 {
42 }

Member Function Documentation

QCString Formula::getFormulaText ( ) const
inline

Definition at line 31 of file formula.h.

31 { return form; }
QCString form
Definition: formula.h:35
int Formula::getId ( )

Definition at line 44 of file formula.cpp.

45 {
46  return number;
47 }
int number
Definition: formula.h:34

Member Data Documentation

QCString Formula::form
private

Definition at line 35 of file formula.h.

int Formula::number
private

Definition at line 34 of file formula.h.


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