public:
/// None - constructor
- virtual ModelAPI_Interface() {myImpl = 0;}
+ virtual ModelAPI_Interface()
+ {
+ myImpl = 0;
+ }
/// Constructor by the implementation pointer (used for internal needs)
- virtual ModelAPI_Interface(void* theImpl) {myImpl = theImpl;}
+ virtual ModelAPI_Interface(void* theImpl)
+ {
+ myImpl = theImpl;
+ }
/// Copy-constructor
- virtual ModelAPI_Interface(ModelAPI_Interface& theOrig)
- {myImpl = theOrig.theImpl; Duplicate();}
+ virtual ModelAPI_Interface(ModelAPI_Interface& theOrig)
+ {
+ myImpl = theOrig.theImpl;
+ Duplicate();
+ }
virtual ModelAPI_Interface& operator=(ModelAPI_Interface& const theOrig)
- {myImpl = theOrig.theImpl; Duplicate(); return *this;}
+ { myImpl = theOrig.theImpl; Duplicate(); return *this;}
/// Duplicates the objet pointed by myImpl (loosing the old one)
virtual void Duplicate() = 0;