This is an old revision of the document!


/**********************
Commun header
**********************/
 
/*!
  \file   TeTemplate.h
  \brief  This file contains an template example    
 
  This file can be used as reference for TerraLib programmers.
 
  \author Karine  (karine@dpi.inpe.br)
  \author Laércio (laercio@dpi.inpe.br)
*/
 
 
/** 	\file TeTemplate.h
	\brief This file contains an template example 
	\authot
*/
#ifndef TE_TEMPLATE_H
#define TE_TEMPLATE_H
 
#define TE_MYDEFINE 1
 
// C includes
#include <c.h>
 
// Local module includes
#include "TeOtherTerraLibInclude.h"
 
// Platform includes (e.g. dpi - digital image processing module)
#include <dip/TeDPIinclude.h>
 
// STL includes
#include <vector>
 
// Foward declarations of external classes
class Foward;
 
/** 	\namespace TerraLib
	\brief	This namespace contains ....
*/
namespace TerraLib
{
// Foward declarations of namespace classes
class TeFoward;
 
/** 	\class TeTemplate
	\brief A Template class
*/
class TeTemplate
{
  public:
 
	/** \brief Set the value of member myInt_
	    \param myInt the value to be assigned to myInt_
	*/
	void setMyInt(const int& myInt);
 
	/** \brief Get the value of member myInt_
	    \return the value to be assigned to myInt_
	*/
	const int& getMyInt() const;
 
	const bool& isValid() const;
 
  protected:
 
  private:
 
  protected:
	int myProtectedInt_;
 
  private:
	int myInt_;
	double myDouble_;
	std::string myString_;
	bool valid_;
	TeClass* myClassPointer_;
 
};
 
} // End namespace TerraLib
 
#endif  // End TE_TEMPLATE_H

Navigation