terralib:exemplo1
Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Ambos lados da revisão anteriorRevisão anteriorPróxima revisão | Revisão anterior | ||
terralib:exemplo1 [2008/04/02 15:51] – 150.163.3.123 | terralib:exemplo1 [2008/04/02 15:59] (atual) – 150.163.3.123 | ||
---|---|---|---|
Linha 57: | Linha 57: | ||
{ | { | ||
public: | public: | ||
- | + | ||
- | /** \brief Set the value of member myInt_ | + | //! Empty contructor |
- | | + | |
- | */ | + | |
- | void setMyInt(const int& myInt); | + | |
- | /** \brief Get the value of member myInt_ | + | |
- | | + | /*! |
- | */ | + | |
- | const int& | + | */ |
+ | void setMyInt(const int& | ||
- | 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 | ||
+ | */ | ||
+ | | ||
protected: | protected: | ||
Linha 75: | Linha 84: | ||
protected: | protected: | ||
- | int myProtectedInt_; | + | //! My protected int member |
+ | | ||
private: | private: | ||
- | int myInt_; | + | //! My private int member |
- | double myDouble_; | + | |
- | std:: | + | //! My private double member |
- | bool valid_; | + | |
- | TeClass* myClassPointer_; | + | //! My private string member |
+ | | ||
+ | //! My private boolen member | ||
+ | | ||
+ | //! My private class pointer member | ||
+ | | ||
}; | }; | ||
terralib/exemplo1.1207151464.txt.gz · Última modificação: 2008/04/02 15:51 por 150.163.3.123