// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _TopLoc_ItemLocation_HeaderFile
#define _TopLoc_ItemLocation_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <Handle_TopLoc_Datum3D.hxx>
#include <Standard_Integer.hxx>
#include <TopLoc_TrsfPtr.hxx>
#include <Standard_Boolean.hxx>
class TopLoc_Datum3D;
class TopLoc_Location;


//! An ItemLocation is an elementary coordinate system
//! in a Location.
//!
//! The  ItemLocation     contains :
//!
//! * The elementary Datum.
//!
//! * The exponent of the elementary Datum.
//!
//! * The transformation associated to the composition.
class TopLoc_ItemLocation 
{
public:

  DEFINE_STANDARD_ALLOC

  
  //! Sets the elementary Datum to <D>
  //! Sets the exponent to <P>
  Standard_EXPORT TopLoc_ItemLocation(const Handle(TopLoc_Datum3D)& D, const Standard_Integer P, const Standard_Boolean fromTrsf = Standard_False);
  
  Standard_EXPORT TopLoc_ItemLocation(const TopLoc_ItemLocation& anOther);
  
  Standard_EXPORT   TopLoc_ItemLocation& Assign (const TopLoc_ItemLocation& anOther) ;
  TopLoc_ItemLocation& operator= (const TopLoc_ItemLocation& anOther) 
{
  return Assign(anOther);
}
  
  Standard_EXPORT   void Destroy() ;
~TopLoc_ItemLocation()
{
  Destroy();
}


friend class TopLoc_Location;


protected:





private:



  Handle(TopLoc_Datum3D) myDatum;
  Standard_Integer myPower;
  TopLoc_TrsfPtr myTrsf;


};







#endif // _TopLoc_ItemLocation_HeaderFile
