C++ main module for mmsd Package  1.0
MMSD_IntegerVector.h
Go to the documentation of this file.
1 #ifndef MMSD_IntegerVector_H
2 #define MMSD_IntegerVector_H
3 
4 #include "LAP_IntVector.h"
5 
12 
13 
14 
15 class MMSD_IntegerVector : public virtual LAP_IntVector {
16  SP_OBJECT(MMSD_IntegerVector);
17  // ATTRIBUTES
18 
19 private:
20 
21 
22  // ASSOCIATIONS
23 
24 
25 public:
26  // METHODS
27 
28  // CONSTRUCTORS
29 
31  MMSD_IntegerVector(void);
33  MMSD_IntegerVector(const int& n);
36 
37 
38  // DESTRUCTORS
39 
40 
43  virtual ~MMSD_IntegerVector(void);
44 
45 
46 
47 public:
48  //----------------
49  // NEW constructors
50  // ---------------
51  inline static SP::MMSD_IntegerVector New() {
52  SP::MMSD_IntegerVector p(new MMSD_IntegerVector(),
53  MMSD_IntegerVector::Delete());
54  p->setThis(p);
55  return p;
56  };
59  inline MMSD_IntegerVector& operator=(const int& s) {
60  LAP_IntVector::init(s);
61  return (*this);
62  };
66  copy(s);
67  return (*this);
68  };
69  //------------
70  // PRINT class
71  // -----------
72 
73 
74 
75 
76 
77 
78 };
79 
80 #endif
virtual ~MMSD_IntegerVector(void)
destroy an object.
Definition: MMSD_IntegerVector.cpp:16
MMSD_IntegerVector & operator=(const MMSD_IntegerVector &s)
copy operator the view is taken into account
Definition: MMSD_IntegerVector.h:65
DEFINE_SPTR(MMSD_IntegerVector)
MMSD_IntegerVector & operator=(const int &s)
copy operator the view is taken into account
Definition: MMSD_IntegerVector.h:59
MMSD_IntegerVector(void)
create an object
Definition: MMSD_IntegerVector.cpp:4
Definition: MMSD_IntegerVector.h:15
static SP::MMSD_IntegerVector New()
Definition: MMSD_IntegerVector.h:51