MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
DestFinfo.h
Go to the documentation of this file.
1 /**********************************************************************
2 ** This program is part of 'MOOSE', the
3 ** Messaging Object Oriented Simulation Environment.
4 ** Copyright (C) 2003-2010 Upinder S. Bhalla. and NCBS
5 ** It is made available under the terms of the
6 ** GNU Lesser General Public License version 2.1
7 ** See the file COPYING.LIB for the full notice.
8 **********************************************************************/
9 #ifndef _DEST_FINFO_H
10 #define _DEST_FINFO_H
11 
12 
13 /*
14  * DestFinfo manages function requests. All messages terminate on
15  * the functions stored in DestFinfos. No templates here, as all the
16  * type-specific work is done by the OpFunc.
17 */
18 class DestFinfo: public Finfo
19 {
20  public:
21  ~DestFinfo();
22  DestFinfo( const string& name, const string& doc,OpFunc* func );
23  void registerFinfo( Cinfo* c );
24  bool strSet( const Eref& tgt, const string& field,
25  const string& arg ) const;
26  bool strGet( const Eref& tgt, const string& field,
27  string& returnValue ) const;
28 
29  const OpFunc* getOpFunc() const;
30  FuncId getFid() const;
31 
33  // Override the default virtual function for the rtti info
35 
36  string rttiType() const;
37 
38  private:
41 };
42 
43 #endif // _DEST_FINFO_H
FuncId fid_
Definition: DestFinfo.h:40
string rttiType() const
Definition: DestFinfo.cpp:64
DestFinfo(const string &name, const string &doc, OpFunc *func)
Definition: DestFinfo.cpp:17
const string & name() const
Definition: Finfo.cpp:80
bool strGet(const Eref &tgt, const string &field, string &returnValue) const
Definition: DestFinfo.cpp:57
void registerFinfo(Cinfo *c)
Definition: DestFinfo.cpp:24
bool strSet(const Eref &tgt, const string &field, const string &arg) const
Definition: DestFinfo.cpp:50
OpFunc * func_
Definition: DestFinfo.h:39
FuncId getFid() const
Definition: DestFinfo.cpp:45
Definition: Eref.h:26
const OpFunc * getOpFunc() const
Definition: DestFinfo.cpp:40
unsigned int FuncId
Definition: header.h:42
Definition: Cinfo.h:18
Definition: Finfo.h:12