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 {
19 class EMPRINTERTEMPLATE_API EMultiple: public EDrawObject
20 {
21 public:
22 EMultiple( const std::string &name );
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:
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
virtual EDrawObject * Clone()=0
virtual void ReadXML(EXMLNode *node)=0
void ProcessObjectAlignement(EDrawObject *drawObject)
void RemoveDrawObject(const std::string &name)
void AddDrawObject(EDrawObject *drawObject)
std::vector< EDrawObject * > & GetDrawObjectMultiple()
std::string GetNextDataName(const std::string &name)
EMultiple(const std::string &name)
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7