1 /* === S I N F G =========================================================== */
2 /*! \file valuenode_const.h
3 ** \brief Template Header
5 ** $Id: valuenode_const.h,v 1.1.1.1 2005/01/04 01:23:15 darco Exp $
8 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
10 ** This software and associated documentation
11 ** are CONFIDENTIAL and PROPRIETARY property of
12 ** the above-mentioned copyright holder.
14 ** You may not copy, print, publish, or in any
15 ** other way distribute this software without
16 ** a prior written agreement with
17 ** the copyright holder.
20 /* ========================================================================= */
22 /* === S T A R T =========================================================== */
24 #ifndef __SINFG_VALUENODE_CONST_H
25 #define __SINFG_VALUENODE_CONST_H
27 /* === H E A D E R S ======================================================= */
29 #include "valuenode.h"
31 /* === M A C R O S ========================================================= */
33 /* === C L A S S E S & S T R U C T S ======================================= */
37 class ValueNode_Const : public ValueNode
40 typedef etl::handle<ValueNode_Const> Handle;
41 typedef etl::handle<const ValueNode_Const> ConstHandle;
47 ValueNode_Const(const ValueBase &x);
51 virtual ValueBase operator()(Time t)const;
52 virtual ~ValueNode_Const();
54 const ValueBase &get_value()const;
55 ValueBase &get_value();
56 void set_value(const ValueBase &data);
59 virtual String get_name()const;
60 virtual String get_local_name()const;
62 virtual ValueNode* clone(const GUID& deriv_guid=GUID())const;
65 static ValueNode_Const* create(const ValueBase &x=ValueBase());
68 virtual void get_times_vfunc(Node::time_set &set) const;
71 }; // END of namespace sinfg
73 /* === E N D =============================================================== */