00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 #ifndef _SK_SYS_GROUP_
00009 #define _SK_SYS_GROUP_
00010 
00011 #include <sk/util/Object.h>
00012 #include <sk/util/String.h>
00013 
00014 namespace sk {
00015   namespace sys {
00016     class Group
00017       : public virtual sk::util::Object 
00018     {
00019       public:
00020         
00021         
00022         virtual ~Group();
00023 
00024         const sk::util::String getName() const;
00025         int getGid() const;
00026         
00027         
00028         const sk::util::Class getClass() const;
00029 
00030         static const sk::sys::Group find(const sk::util::String& name);
00031         
00032       private:
00033         Group(const sk::util::String& name, int id);
00034         Group& operator = (const Group& other);
00035 
00036         sk::util::String _name;
00037         int _id;
00038     };
00039   }
00040 }
00041 
00042 #endif