The Sparta Modeling Framework
Loading...
Searching...
No Matches
Parameter.hpp File Reference

Individual Parameter interface base class, container class, and global helpers methods. More...

#include <cassert>
#include <cstddef>
#include <cstdint>
#include <iostream>
#include <ios>
#include <iomanip>
#include <string>
#include <ostream>
#include <stdexcept>
#include <vector>
#include <functional>
#include <type_traits>
#include <typeinfo>
#include "sparta/simulation/TreeNode.hpp"
#include "sparta/utils/Utils.hpp"
#include "sparta/utils/SpartaException.hpp"
#include "sparta/utils/SpartaAssert.hpp"
#include "sparta/kernel/SpartaHandler.hpp"
#include "sparta/utils/KeyValue.hpp"
#include "sparta/utils/LexicalCast.hpp"
#include "sparta/utils/SmartLexicalCast.hpp"
#include "sparta/utils/Printing.hpp"
#include "sparta/utils/VectorUtils.hpp"
#include "sparta/kernel/PhasedObject.hpp"

Go to the source code of this file.

Classes

class  sparta::ParameterException
 Exception indicating a misconfigured Parameter or invalid Parameter access. More...
 
class  sparta::ParameterBase
 Non-templated base class for generic parameter access and iteration. More...
 
class  sparta::ParameterBase::ParameterValueIterator
 Generic value iterator for a SINGLE parameter which represents values ONLY as std::string. More...
 
class  sparta::ValidationCheckCallback< ValueType >
 Delegate for Parameter validation. More...
 
class  sparta::Parameter< ValueType >
 Parameter instance, templated to contain only a specific type. More...
 

Namespaces

namespace  sparta
 Macros for handling exponential backoff.
 

Functions

template<typename T >
sparta::smartLexicalCast (const ParameterBase *p, const std::string &s, size_t &end_pos, bool allow_recursion=true, bool allow_prefix=true)
 smartLexicalCast wrapper with parameter information added to exceptions
 

Detailed Description

Individual Parameter interface base class, container class, and global helpers methods.

Definition in file Parameter.hpp.