AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
9 class EXMLNode;
10 
11 namespace EM
12 {
13  namespace PrinterTemplate
14  {
19  class EMPRINTERTEMPLATE_API EMultiple: public EDrawObject
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
EEventTripTicketPr __EDATAPTR d
Definition: EEventTripTicket.h:96
#define EMPRINTERTEMPLATE_API
Definition: EMPrinterTemplate.h:9
virtual CardEvent __EDATAPTR Clone()
__ECLASS DataClass
Definition: EEventUpdateCustomerData.h:35
SYSTEM INCLUDES.
Definition: CardFacadeManagerXML.h:6