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/PslAttribute.hh

Go to the documentation of this file.
00001 // -*- Mode: c++ -*-
00002 //     File: $Source: /home/cvs/ISG-Repository/IDEA-DEV/Core/PlanServer/Includes/PslAttribute.hh,v $
00003 //      Tag: $Name: DR_01_11_06 $
00004 //      CVS: $Id: PslAttribute.hh,v 1.4 2005/11/08 18:32:40 rijsman Exp $
00005 //     Info: $CVSROOT/IDEA-DEV/COPYRIGHT
00006 #ifndef PSL_ATTRIBUTE_HH
00007 #define PSL_ATTRIBUTE_HH
00008 
00009 #include "PslContainers.hh"
00010 #include "TokenLocation.hh"
00011 
00012 namespace IDEA
00013 {
00014   class PslAttributeImpl;
00015 
00023   class PslAttribute
00024   {
00025     friend class PslObjectClassImpl;
00026   public:
00030     ~PslAttribute();
00034     PslAttributeImpl* getImpl() const;
00038     const std::string& getName() const;
00045     const PslPredicate* createPredicate( const std::string& name  ) const;
00050     const PslPredicate* getPredicate( const std::string& name  ) const;
00054     const String2PslPredicateMap& getPredicates() const;
00061     const std::string& getComRelayName() const;
00066     void setComRelayName( const std::string& name ) const;
00070     const TokenLocation& getTargetLocation() const;
00074     void setTargetLocation( const TokenLocation& target ) const;
00078     void setAsDefaultExecutable() const;
00082     void setAsDefaultGoal() const;
00087     bool isDefaultExecutable() const;
00092     bool isDefaultGoal() const;
00096     void print( std::ostream& os ) const;
00097   private:
00101     PslAttribute( PslAttributeImpl* impl );
00105     PslAttribute();
00109     PslAttribute( const PslAttribute& );
00113     PslAttribute & operator=(const PslAttribute& );
00114 
00115     PslAttributeImpl* m_Impl;
00116   };
00117 }
00118 
00119 #endif // PSL_ATTRIBUTE_HH

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