MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ValueFinfo.cpp
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 
10 #include "header.h"
11 
12 ValueFinfoBase::ValueFinfoBase( const string& name, const string& doc )
13  : Finfo( name, doc ),
14  set_( 0 ),
15  get_( 0 )
16 {;}
17 
19  return get_;
20 }
21 
22 vector< string > ValueFinfoBase::innerDest() const
23 {
24  vector< string > ret;
25  if ( set_ )
26  ret.push_back( set_->name() );
27 
28  assert( get_ );
29  ret.push_back( get_->name() );
30 
31  return ret;
32 }
DestFinfo * getFinfo() const
Definition: ValueFinfo.cpp:18
DestFinfo * get_
Definition: ValueFinfo.h:33
ValueFinfoBase(const string &name, const string &doc)
Definition: ValueFinfo.cpp:12
const string & name() const
Definition: Finfo.cpp:80
DestFinfo * set_
Definition: ValueFinfo.h:32
vector< string > innerDest() const
Definition: ValueFinfo.cpp:22
static char name[]
Definition: mfield.cpp:401
Definition: Finfo.h:12