41 #if !defined(GLS_MENUDATA_H)
42 #define GLS_MENUDATA_H
45 #pragma warning (disable:4786)
54 #include "disti_metadata.h"
78 GlsMenuData(
const std::string& name,
bool localStorage);
93 virtual void Inc(
long amount = 1);
150 virtual void Attach(T*& data);
180 virtual std::ostream&
WriteValue(std::ostream& outstr);
191 virtual std::istream&
ReadValue(std::istream& instr);
206 virtual const T&
Value()
const;
220 virtual void Value(
const T& val);
243 outstr << std::fixed << std::showpoint
244 << std::setprecision(_precision) << Value();
250 outstr << std::fixed << std::showpoint
251 << std::setprecision(_precision) << Value();
296 virtual void Inc(
long amount = 1);
319 GlsMenuLine(
const std::string& name, std::string* data);
327 GlsMenuLine(
const std::string& name,
const std::string& initialVal =
"");
348 virtual std::istream&
ReadValue(std::istream& instr);
405 virtual void Attach(T*& data);
435 virtual std::ostream&
WriteValue(std::ostream& outstr);
446 virtual std::istream&
ReadValue(std::istream& instr);
461 virtual const T&
Value()
const;
475 virtual void Value(
const T& val);
501 template <
class MapT>
513 const std::string& name,
525 const std::string& name,
540 virtual std::ostream&
WriteValue(std::ostream& outstr);
551 virtual std::istream&
ReadValue(std::istream& instr);
573 bool GetQuoted(std::istream& instr, std::string &theString);
579 #include "gls_menu_data.inl"
This file defines generic function object (functor) classes.