Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
terralib:exemplo1 [2008/04/02 12:51] 150.163.3.123 |
terralib:exemplo1 [2008/04/02 12:59] (current) 150.163.3.123 |
||
---|---|---|---|
Line 57: | Line 57: | ||
{ | { | ||
public: | public: | ||
- | + | ||
- | /** \brief Set the value of member myInt_ | + | //! Empty contructor |
- | \param myInt the value to be assigned to myInt_ | + | TeTemplate(void); |
- | */ | + | |
- | void setMyInt(const int& myInt); | + | |
- | /** \brief Get the value of member myInt_ | + | //! Set the value of member myInt_ |
- | \return the value to be assigned to myInt_ | + | /*! |
- | */ | + | \param myInt the value to be assigned to myInt_ member |
- | const int& getMyInt() const; | + | */ |
+ | void setMyInt(const int& myInt); | ||
- | const bool& isValid() const; | + | //! Get the value of member myInt_ |
+ | /*! | ||
+ | \return returns the value of the myInt_ member | ||
+ | */ | ||
+ | const int& getMyInt(void) const; | ||
+ | |||
+ | //! Verify if the object is valid | ||
+ | /*! | ||
+ | \return returns true if the object is valid, otherwise, return false | ||
+ | */ | ||
+ | const bool& isValid() const; | ||
protected: | protected: | ||
Line 75: | Line 84: | ||
protected: | protected: | ||
- | int myProtectedInt_; | + | //! My protected int member |
+ | int myProtectedInt_; | ||
private: | private: | ||
- | int myInt_; | + | //! My private int member |
- | double myDouble_; | + | int myInt_; |
- | std::string myString_; | + | //! My private double member |
- | bool valid_; | + | double myDouble_; |
- | TeClass* myClassPointer_; | + | //! My private string member |
+ | std::string myString_; | ||
+ | //! My private boolen member | ||
+ | bool valid_; | ||
+ | //! My private class pointer member | ||
+ | TeClass* myClassPointer_; | ||
}; | }; | ||