Ananas Library  0.9.5
Public Member Functions | List of all members
iTemplate Class Referenceabstract

#include <itemplate.h>

Inheritance diagram for iTemplate:
aMSOTemplate aOOTemplate aTemplate aCalcTemplate

Public Member Functions

 iTemplate ()
 
virtual ~iTemplate ()
 
virtual bool open (const QString &fname)=0
 
virtual void close ()
 
virtual void clear ()
 
virtual QString getValue (const QString &name)
 
virtual void setValue (const QString &name, const QString &value)
 
virtual QString exec (const QString &sname)
 
virtual QString result ()
 
virtual bool save (const QString &fname)
 
virtual void cleanUpTags ()
 
virtual void setDir (const QString &dir)
 
virtual QString getDir ()
 

Detailed Description

Interface for work with report

Constructor & Destructor Documentation

iTemplate::iTemplate ( )

Constructor

iTemplate::~iTemplate ( )
virtual

Destructor

Member Function Documentation

void iTemplate::cleanUpTags ( )
virtual

Clears all tags

Reimplemented in aTemplate, aOOTemplate, and aMSOTemplate.

Referenced by aReport::show().

void iTemplate::clear ( )
virtual

Clears internal variable.

Reimplemented in aTemplate, aOOTemplate, and aMSOTemplate.

void iTemplate::close ( )
virtual

Closes pattern.

Reimplemented in aTemplate, aOOTemplate, and aMSOTemplate.

Referenced by aReport::close().

QString iTemplate::exec ( const QString &  sname)
virtual

Replaces tads to values

Reimplemented in aTemplate, aOOTemplate, and aMSOTemplate.

Referenced by aReport::exec().

QString iTemplate::getDir ( )
virtual

Gets working directory

Reimplemented in aTemplate, aOOTemplate, and aMSOTemplate.

Referenced by aReport::getName4NewTemplate().

QString iTemplate::getValue ( const QString &  name)
virtual

Get value of parameter `name'

Reimplemented in aTemplate, aOOTemplate, and aMSOTemplate.

Referenced by aReport::value().

bool iTemplate::open ( const QString &  fname)
pure virtual

Opens pattern

Implemented in aTemplate, aOOTemplate, and aMSOTemplate.

Referenced by aReport::setTable().

QString iTemplate::result ( )
virtual

Returns document.

Reimplemented in aTemplate, aOOTemplate, and aMSOTemplate.

Referenced by aReport::show().

bool iTemplate::save ( const QString &  fname)
virtual

Saves document to file

Reimplemented in aTemplate, aOOTemplate, and aMSOTemplate.

Referenced by aReport::save(), and aReport::show().

void iTemplate::setDir ( const QString &  dir)
virtual

Sets working directory

Reimplemented in aTemplate, aOOTemplate, and aMSOTemplate.

Referenced by aReport::setTable().

void iTemplate::setValue ( const QString &  name,
const QString &  value 
)
virtual

Set value of parameter `name'

Reimplemented in aTemplate, aOOTemplate, and aMSOTemplate.

Referenced by aReport::setValue().


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