#include <TdkTemplate.h>
Public Member Functions | |
TdkTemplate (std::string templateName, std::string templatePageName, std::string templatePageOrientation, double width, double height) | |
virtual | ~TdkTemplate () |
virtual void | setName (std::string name) |
virtual std::string | getName () |
virtual void | setPageName (std::string name) |
virtual std::string | getPageName () |
virtual void | setPageOrientation (std::string orientation) |
virtual std::string | getPageOrientation () |
virtual void | setWidth (double width) |
virtual double | getWidth () |
virtual void | setHeight (double height) |
virtual double | getHeight () |
virtual void | load (TeDatabase *driver) |
virtual void | update (TeDatabase *driver) |
virtual void | insert (TeDatabase *driver) |
virtual void | remove (TeDatabase *driver) |
virtual void | addObject (TdkTemplateObject *templateObject) |
virtual TdkTemplateObject * | getObject (int index) |
virtual void | removeObject (TdkTemplateObject *templateObject) |
virtual TdkLayoutObjectVector & | getLayoutObjects () |
Protected Member Functions | |
virtual void | createObjects () |
virtual void | clearTemplateObjects () |
Protected Attributes | |
std::string | name_ |
std::string | newName_ |
std::string | pageName_ |
std::string | pageOrientation_ |
double | width_ |
double | height_ |
TdkLayoutObjectVector | createdLayoutObjects_ |
TdkTemplateObjectVector | templateObjects_ |
TdkTemplate::TdkTemplate | ( | std::string | templateName, | |
std::string | templatePageName, | |||
std::string | templatePageOrientation, | |||
double | width, | |||
double | height | |||
) | [inline] |
TdkTemplate::~TdkTemplate | ( | ) | [inline, virtual] |
void TdkTemplate::setName | ( | std::string | name | ) | [inline, virtual] |
std::string TdkTemplate::getName | ( | ) | [inline, virtual] |
void TdkTemplate::setPageName | ( | std::string | name | ) | [inline, virtual] |
std::string TdkTemplate::getPageName | ( | ) | [inline, virtual] |
void TdkTemplate::setPageOrientation | ( | std::string | orientation | ) | [inline, virtual] |
std::string TdkTemplate::getPageOrientation | ( | ) | [inline, virtual] |
void TdkTemplate::setWidth | ( | double | width | ) | [inline, virtual] |
double TdkTemplate::getWidth | ( | ) | [inline, virtual] |
void TdkTemplate::setHeight | ( | double | height | ) | [inline, virtual] |
double TdkTemplate::getHeight | ( | ) | [inline, virtual] |
void TdkTemplate::load | ( | TeDatabase * | driver | ) | [virtual] |
void TdkTemplate::update | ( | TeDatabase * | driver | ) | [virtual] |
void TdkTemplate::insert | ( | TeDatabase * | driver | ) | [virtual] |
void TdkTemplate::remove | ( | TeDatabase * | driver | ) | [virtual] |
void TdkTemplate::addObject | ( | TdkTemplateObject * | templateObject | ) | [inline, virtual] |
TdkTemplateObject * TdkTemplate::getObject | ( | int | index | ) | [inline, virtual] |
void TdkTemplate::removeObject | ( | TdkTemplateObject * | templateObject | ) | [inline, virtual] |
TdkLayoutObjectVector & TdkTemplate::getLayoutObjects | ( | ) | [inline, virtual] |
void TdkTemplate::createObjects | ( | ) | [protected, virtual] |
void TdkTemplate::clearTemplateObjects | ( | ) | [protected, virtual] |
std::string TdkTemplate::name_ [protected] |
std::string TdkTemplate::newName_ [protected] |
std::string TdkTemplate::pageName_ [protected] |
std::string TdkTemplate::pageOrientation_ [protected] |
double TdkTemplate::width_ [protected] |
double TdkTemplate::height_ [protected] |
TdkTemplateObjectVector TdkTemplate::templateObjects_ [protected] |