USGS

Isis 3.0 Developer's Reference (API)

Home

PvlGroup.h

Go to the documentation of this file.
00001 #ifndef PvlGroup_h
00002 #define PvlGroup_h
00003 
00025 #include "PvlContainer.h"
00026 
00027 namespace Isis {  
00055   class PvlGroup : public Isis::PvlContainer {
00056     public:
00057       PvlGroup();
00058       PvlGroup(const std::string &name);
00059       PvlGroup(const PvlGroup &other);
00060 
00062       void ValidateGroup(PvlGroup & pPvlGrp);
00063       
00064       friend std::istream &operator>>(std::istream &is, PvlGroup &result);
00065       friend std::ostream &operator<<(std::ostream &os, PvlGroup &group);
00073       bool operator==(const PvlGroup &group) const {
00074         return PvlKeyword::StringEqual(group.Name(), this->Name());
00075       };
00076 
00077       const PvlGroup &operator=(const PvlGroup &other);
00078   };
00079 }
00080 #endif