#ifndef META_TABLE_LIST_2007_03_07 #define META_TABLE_LIST_2007_03_07 /** @file MetaTableList.h @author Brian Magill @datecreated 3/05/2007 $Date:$ $Revision:$ @copyright (©) Copyright 2006 by GATS Inc. 11864 Canon Blvd., Suite 101, Newport News, VA 23606 All Rights Reserved. No part of this software or publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise without the prior written permission of GATS Inc. @brief given a table with metadata including table names, returns a list of tables */ //---------------------------------------------------------------------- // #include #include //#include "Event.h" #include "GATS_DB.h" #include "GATS_DB_Exception.h" #include "GATS_Utilities.hpp" class MetaTableList { private: gatsDBpp::GATS_DB *dbConn; std::string metaTable; public: MetaTableList():dbConn(0), metaTable("") { }; MetaTableList(gatsDBpp::GATS_DB &conn, std::string name): dbConn(&conn), metaTable(name) { }; MetaTableList(MetaTableList const &rhs):dbConn(rhs.dbConn), metaTable(rhs.metaTable){ }; MetaTableList& operator = (MetaTableList const &rhs ) { if (this == &rhs) return *this; dbConn = rhs.dbConn; metaTable = rhs.metaTable; //cout << metaTable< getChosen( ) const; std::vector getAll( ) const; }; #endif