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

Cli.h

00001 // tacppd Application objects
00002 // (c) Copyright 2000-2005 by tacppd team and contributors
00003 // see http://tacppd.org for more information
00004 //
00005 //  This program is free software; you can redistribute it and/or modify
00006 //  it under the terms of the GNU General Public License as published by
00007 //  the Free Software Foundation; either version 2 of the License, or
00008 //  (at your option) any later version.
00009 //
00010 //  This program is distributed in the hope that it will be useful,
00011 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 //  GNU General Public License for more details.
00014 //
00015 //  You should have received a copy of the GNU General Public License
00016 //  along with this program; if not, write to the Free Software
00017 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 
00019 // modifications:Igor Lyapin aka lsk
00020 
00021 // all comments which start from /** - this is comments for KDoc
00022 //  for classes
00023 //    @short [short description of the class]
00024 //    @author [class author]
00025 //    @version [class version]
00026 //    @see [references to other classes or methods]
00027 //  for methods
00028 //    @see [references]
00029 //    @return [sentence describing the return value]
00030 //    @exception [list the exeptions that could be thrown]
00031 //    @param [name id] [description]    - can be multiple
00032 
00033 #ifndef __CLI_H__
00034 #define __CLI_H__
00035 
00036 #include "global.h"
00037 
00038 namespace tacpp {
00039 
00040 struct common {
00041   Command *currentNode;
00042   Command *currentNiNode;
00043   static XML_Parser *p;
00044 };
00045 
00050 class Cli {
00051  private:
00054   CommandNode *root;
00057   NonInteractiveCommandNode *niroot;
00058  public:
00061   Cli(char *xmlBuf);
00064   CommandNode * getRoot();
00067   NonInteractiveCommandNode * getNiRoot();
00070   ~Cli();
00071 };
00072 
00073 };
00074 #endif  //__CLI_H__

Generated on Thu Jul 21 23:09:45 2005 for tacppd.kdevelop by doxygen 1.3.5