Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

TableAuthorization.h

00001 /*
00002  *  Copyright (c) 2004 on behalf of the EU EGEE Project:
00003  *  The European Organization for Nuclear Research (CERN),
00004  *  Istituto Nazionale di Fisica Nucleare (INFN), Italy
00005  *  Datamat Spa, Italy
00006  *  Centre National de la Recherche Scientifique (CNRS), France
00007  *  CS Systeme d'Information (CSSI), France
00008  *  Royal Institute of Technology, Center for Parallel Computers (KTH-PDC), Sweden
00009  *  Universiteit van Amsterdam (UvA), Netherlands
00010  *  University of Helsinki (UH.HIP), Finland
00011  *  University of Bergen (UiB), Norway
00012  *  Council for the Central Laboratory of the Research Councils (CCLRC), United Kingdom
00013  */
00014 #ifndef TABLEAUTHORIZATION_H
00015 #define TABLEAUTHORIZATION_H
00016 #include "rgma/StringList.h"
00017 #include <string>
00018 namespace glite
00019 {
00020     namespace rgma
00021     {
00025         class TableAuthorization
00026         {
00027             private:
00028                 StringList m_rules;
00029 
00030             public:
00031 
00032                 TableAuthorization();
00033                 virtual ~TableAuthorization();
00034                 TableAuthorization( const TableAuthorization& auth );
00035                 TableAuthorization& operator=(const TableAuthorization& auth  );
00041                 int getNumRules() ;
00042 
00050                 std::string getRule(int ruleNum);
00051 
00060                 void addRule(std::string rule);
00061         };
00062         std::ostream& operator<<( std::ostream& stream, TableAuthorization ta);
00063     }
00064 }
00065 #endif                                            // TABLEAUTHORIZATION_H

Generated on Wed Apr 25 19:11:32 2007 for glite-rgma-api-cpp by doxygen 1.3.5