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 COLUMNDEFINITIONLIST_H 00015 #define COLUMNDEFINITIONLIST_H 00016 00017 #include "rgma/ColumnDefinition.h" 00018 #include <vector> 00019 00020 #include <string> 00021 00022 namespace glite 00023 { 00024 namespace rgma 00025 { 00029 class ColumnDefinitionList 00030 { 00031 public: 00035 ColumnDefinitionList(); 00036 ~ColumnDefinitionList(){} 00037 00044 ColumnDefinition getColumnDefinition( int index ); 00051 void add( ColumnDefinition def ); 00052 ColumnDefinitionList( const ColumnDefinitionList& list ); 00053 ColumnDefinitionList& operator=(const ColumnDefinitionList& list ); 00058 int size(); 00059 00060 private: 00061 std::vector<ColumnDefinition> m_defList; 00062 }; 00063 std::ostream& operator<<( std::ostream& stream, ColumnDefinitionList colDefList); 00064 } 00065 } 00066 #endif