00001 /******************************************************************************* 00002 * Copyright (c) 2006 International Business Machines Corporation 00003 * All rights reserved. This program and the accompanying materials 00004 * are made available under the terms of the Common Public License v1.0 00005 * which accompanies this distribution, and is available at 00006 * http://www.opensource.org/licenses/cpl1.0.php 00007 * 00008 * Contributors: 00009 * Douglas Sprague, Joel Wheeler - initial API and implementation 00010 * 00011 *****************************************************************************/ 00012 00013 #ifndef STILSelector_H 00014 #define STILSelector_H 00015 00016 #include "stilcom.h" // Common 00017 #include "stilcomstr.h" 00018 #include "stilblock.h" // STIL Block common base class 00019 00020 00021 //--------------------------------------------------------------------------- 00030 //--------------------------------------------------------------------------- 00031 class STILSelector : public STILBlock { 00032 00033 // - Global std::ostream << operator as friend to output STILSelector object 00034 friend std::ostream& operator<<( std::ostream &os, const STILSelector &); 00035 00036 public: 00037 00038 // - Default Constructor 00039 STILSelector(); 00040 00041 // - Copy Constructor 00042 STILSelector(const STILSelector &); 00043 00044 // - Destructor which frees storage associated to a STILSelector object 00045 virtual ~STILSelector(); 00046 00047 // - Assignment operator 00048 STILSelector & operator=(const STILSelector &); 00049 00050 // - Member function to initialize an object (default is global domain name) 00051 void init(const sstring& domain=""); 00052 00053 // - Member function to write the object 00054 virtual void write(FILE * pOutFile, LONG indentation=0) const; 00055 00056 00057 private: 00058 00059 //********************************************************************** 00060 //********************************************************************** 00061 // stub stub stub stub stub stub stub stub stub stub stub * 00062 //********************************************************************** 00063 //********************************************************************** 00064 00065 }; // end STILSelector class 00066 00067 #endif