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:57] 150.163.3.123 |
terralib:exemplo1 [2008/04/02 12:59] (current) 150.163.3.123 |
||
---|---|---|---|
Line 63: | Line 63: | ||
//! Set the value of member myInt_ | //! Set the value of member myInt_ | ||
/*! | /*! | ||
- | \param myInt the value to be assigned to myInt_ member | + | \param myInt the value to be assigned to myInt_ member |
*/ | */ | ||
void setMyInt(const int& myInt); | void setMyInt(const int& myInt); | ||
Line 69: | Line 69: | ||
//! Get the value of member myInt_ | //! Get the value of member myInt_ | ||
/*! | /*! | ||
- | \return returns the value of the myInt_ member | + | \return returns the value of the myInt_ member |
*/ | */ | ||
const int& getMyInt(void) const; | const int& getMyInt(void) const; | ||
Line 75: | Line 75: | ||
//! Verify if the object is valid | //! Verify if the object is valid | ||
/*! | /*! | ||
- | \return returns true if the object is valid, otherwise, return false | + | \return returns true if the object is valid, otherwise, return false |
*/ | */ | ||
const bool& isValid() const; | const bool& isValid() const; | ||
Line 84: | 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_; | ||
}; | }; | ||