Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

/home/pauldt/projects/IDEA/IDEA-ALL/IDEA-DEV/Core/PlanServer/Includes/PslConstraint.hh

Go to the documentation of this file.
00001 // -*- Mode: C++ -*-
00002 //      CVS: $Id: PslConstraint.hh,v 1.8 2005/11/08 18:32:41 rijsman Exp $
00003 //      Tag: $name$
00004 //     Info: $CVSROOT/IDEA-DEV/COPYRIGHT
00005 #ifndef PSL_CONSTRAINT_HEADER_
00006 #define PSL_CONSTRAINT_HEADER_
00007 
00008 #include "Utilities.hh"
00009 
00010 namespace IDEA
00011 {
00012   class PslConstraintImpl;
00013   
00022   class PslConstraint
00023   {
00024     friend class PslParameterImpl;
00025     friend class PslTokenImpl;
00026     friend class PslVariableImpl;
00027   public:
00031     int getId() const;
00037     ~PslConstraint();
00041     const std::string& getName() const;
00045     const PslConstraintImpl* getImpl() const;
00049     bool isActive() const;
00053     void activate( int authority = -1) const;
00059     void deActivate() const;
00065     int getAuthority() const;
00069     void print( std::ostream& os ) const;
00070   private:
00074     PslConstraint( PslConstraintImpl* impl );
00075 
00079     PslConstraintImpl* m_Impl;
00080   };
00081 
00082   std::ostream & operator<<(std::ostream & os, const PslConstraint& cnstr);
00083 }
00084 
00085 #endif //PSL_CONSTRAINT_HEADER_

Contact information
© IDEA
Generated on Fri Feb 3 17:09:41 2006 for IDEA.