AppCore
Loading...
Searching...
No Matches
EMultiple.h
Go to the documentation of this file.
1#ifndef EMULTIPLE_H
2#define EMULTIPLE_H
3
4#include <vector>
5
6#include "appcore/printertemplate/EDrawObject.h"
7#include "appcore/printertemplate/EMPrinterTemplate.h"
8
9class EXMLNode;
10
11namespace EM
12{
13 namespace PrinterTemplate
14 {
20 {
21 public:
22 EMultiple( const std::string &name );
23 ~EMultiple();
24
25 virtual EDrawObject* Clone()=0;
26 virtual void ReadXML( EXMLNode* node )=0;
27 virtual float Prepare();
28 void RemoveDrawObject( const std::string &name );
29 void AddDrawObject( EDrawObject* drawObject );
30
31 std::vector<EDrawObject*>& GetDrawObjectMultiple();
32 std::string GetNextDataName( const std::string &name );
33
34 protected:
35 void ProcessObjectAlignement( EDrawObject* drawObject );
36 std::vector<EDrawObject*> mDrawObjectMultiple;
37
38 private:
39 class DataClass;
40 DataClass* d;
41 };
42 }
43}
44
45#endif
#define EMPRINTERTEMPLATE_API
Definition EMPrinterTemplate.h:9
general draw object
Definition EDrawObject.h:30
represents a set of draw objects recursively
Definition EMultiple.h:20
virtual EDrawObject * Clone()=0
virtual void ReadXML(EXMLNode *node)=0
std::vector< EDrawObject * > mDrawObjectMultiple
Definition EMultiple.h:36
void RemoveDrawObject(const std::string &name)
std::string GetNextDataName(const std::string &name)
EMultiple(const std::string &name)
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7