// File generated by CPPExt (Storable)
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _PTopoDS_Shape1_HeaderFile
#define _PTopoDS_Shape1_HeaderFile

#ifndef _Handle_PTopoDS_TShape1_HeaderFile
#include <Handle_PTopoDS_TShape1.hxx>
#endif
#ifndef _PTopLoc_Location_HeaderFile
#include <PTopLoc_Location.hxx>
#endif
#ifndef _TopAbs_Orientation_HeaderFile
#include <TopAbs_Orientation.hxx>
#endif
#ifndef _Standard_Storable_HeaderFile
#include <Standard_Storable.hxx>
#endif
#ifndef _Standard_PrimitiveTypes_HeaderFile
#include <Standard_PrimitiveTypes.hxx>
#endif
class PTopoDS_TShape1;
class PTopLoc_Location;


#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

Standard_EXPORT Handle_Standard_Type& PTopoDS_Shape1_Type_();

//! The PTopoDS_Shape1 is the Persistent view of a TopoDS_Shape. <br>
//! <br>
//!  a  Shape1 contains : <br>
//! <br>
//!          - a reference to a TShape1. <br>
//! <br>
//!          - a Location  to put the TShape1 in  a local coordinate <br>
//!          system. <br>
//! <br>
//!          - an Orientation. <br>
//! <br>
//!          It inherits from ExternShareable, so that it can be shared <br>
//!          by other objects located outside the container. <br>
class PTopoDS_Shape1  {

public:
    void* operator new(size_t,void* anAddress) 
      {
        return anAddress;
      }
    void* operator new(size_t size) 
      { 
        return Standard::Allocate(size); 
      }
    void  operator delete(void *anAddress) 
      { 
        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
      }

 // Methods PUBLIC
 // 


Standard_EXPORT PTopoDS_Shape1();


Standard_EXPORT   void Nullify() ;


Standard_EXPORT  const Handle_PTopoDS_TShape1& TShape() const;


Standard_EXPORT   void TShape(const Handle(PTopoDS_TShape1)& T) ;


Standard_EXPORT   PTopLoc_Location Location() const;


Standard_EXPORT   void Location(const PTopLoc_Location& L) ;


Standard_EXPORT   TopAbs_Orientation Orientation() const;


Standard_EXPORT   void Orientation(const TopAbs_Orientation O) ;
    Handle(PTopoDS_TShape1) _CSFDB_GetPTopoDS_Shape1myTShape() const { return myTShape; }
    void _CSFDB_SetPTopoDS_Shape1myTShape(const Handle(PTopoDS_TShape1)& p) { myTShape = p; }
    const PTopLoc_Location& _CSFDB_GetPTopoDS_Shape1myLocation() const { return myLocation; }
    TopAbs_Orientation _CSFDB_GetPTopoDS_Shape1myOrient() const { return myOrient; }
    void _CSFDB_SetPTopoDS_Shape1myOrient(const TopAbs_Orientation p) { myOrient = p; }




 // Type management
 //
 Standard_EXPORT friend Handle_Standard_Type& PTopoDS_Shape1_Type_();

protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //
Handle_PTopoDS_TShape1 myTShape;
PTopLoc_Location myLocation;
TopAbs_Orientation myOrient;


};





// other Inline functions and methods (like "C++: function call" methods)
//


#endif
