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:43] – 150.163.3.123 | terralib:exemplo1 [2008/04/02 15:59] (atual) – 150.163.3.123 | ||
|---|---|---|---|
| Linha 35: | Linha 35: | ||
| class Foward; | class Foward; | ||
| - | /** \namespace | + | // |
| - | \brief This namespace contains | + | /*! |
| + | | ||
| */ | */ | ||
| + | |||
| namespace TerraLib | namespace TerraLib | ||
| { | { | ||
| Linha 43: | Linha 45: | ||
| class TeFoward; | class TeFoward; | ||
| - | /** \class TeTemplate | + | |
| - | \brief A Template class | + | //! A example of TerraLib programming style |
| + | /*! | ||
| + | This class is an example of TerraLib programming style. | ||
| + | |||
| + | | ||
| + | \author (?) | ||
| + | \sa | ||
| */ | */ | ||
| class TeTemplate | class TeTemplate | ||
| { | { | ||
| 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 67: | 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.1207151027.txt.gz · Última modificação: 2008/04/02 15:43 por 150.163.3.123
