COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
Most basic kernel library. More...
Namespaces | |
detail | |
Linux | |
Specialized classes for interacting with Linux operating system. | |
MacOSX | |
Specialized classes for interacting with Mac OSX operating system. | |
PE | |
Classes offering a MPI interface for COOLFluiD. | |
Win32 | |
Specialized classes for interacting with Win32 operating system. | |
XML | |
Classes that implement the XML protocol for use in COOLFluiD. | |
Classes | |
class | Action |
Component that executes an action. Implementation of the IAction interface as a component, exposing the execute function as a signal. More... | |
class | ActionDirector |
class | AllocatedComponent |
class | ArrayBase |
class | ArrayBufferT |
A Buffer that is constructed passing a boost::multi_array<T,2> table. This class allows to interface this table by using a buffer. More... | |
class | ArrayDiff |
class | AssertionManager |
Manager of behavior of assertions. More... | |
struct | BadPointer |
struct | BadValue |
class | BinaryDataReader |
Component for writing binary data collected into a single file. More... | |
class | BinaryDataWriter |
Component for writing binary data collected into a single file. More... | |
class | Builder |
Component that builds other components. More... | |
class | BuilderT |
Component that builds other components of a given abstract type This is the actual builder for one concrete type. More... | |
struct | BuildInfo |
class | CAbstract |
struct | CastingFailed |
class | CConcrete1 |
class | CConcrete2 |
class | CodeLocation |
class | CodeProfiler |
class | Component |
Base class for defining CF components. More... | |
struct | ComponentBuilder |
Helper class to create the Builder and place it in the factory. More... | |
struct | ComponentHandle |
Handle to ComponentT, constness determined by the constness of ParentT. More... | |
struct | ComponentIterator |
ComponentIterator class, can linearize a complete tree of components More... | |
struct | ComponentIteratorRange |
struct | ComponentIteratorRangeSelector |
Derive the correct range type based on the constness of ParentT, which should be the type of the parent component. More... | |
struct | ComponentIteratorSelector |
Derive the correct range type based on the constness of ParentT, which should be the type of the parent component. More... | |
struct | ComponentPtr |
Shared pointer to ComponentT, constness determined by the constness of ParentT. More... | |
struct | ComponentReference |
Reference to ComponentT, constness determined by the constness of ParentT. More... | |
class | Connection |
class | ConnectionManager |
struct | ConstComponentIteratorRange |
class | Core |
class | DynArrayBufferT |
class | DynTable |
class | EnumT |
class | Environment |
class | EventHandler |
class | Exception |
Base class for all Exceptions in CF. More... | |
class | ExceptionManager |
Manager of behavior of exceptions. More... | |
class | Factories |
class | Factory |
Component class for a factory which builds other components. More... | |
class | FactoryT |
Component class for a factory which builds other components. More... | |
struct | FailedAssertion |
struct | FailedToConverge |
struct | FileFormatError |
struct | FileSystemError |
struct | FloatingPointError |
class | Group |
Component for grouping other components. More... | |
class | IAction |
Abstract interface for actions. You probably want to use Action as a base to start from, since that implements IAction as a component. More... | |
struct | IllegalCall |
struct | InvalidStructure |
struct | InvalidURI |
Exception thrown when a string does not construct a valid path. More... | |
struct | is_connection |
struct | is_signal |
class | IsBuilderReducedName |
Checks the builder reduced name matches The reduced name is the name without the namespace preceding it. More... | |
class | IsComponentName |
class | IsComponentTag |
class | IsComponentTrue |
class | IsComponentType |
class | Journal |
class | LibCommon |
class | LibLoader |
class | LibLoadingError |
Not deriving from common::Exception to avoid the automatic error output. More... | |
class | Libraries |
class | Library |
Component class for a library. More... | |
class | Link |
class | List |
Component holding a 1 dimensional array of a templated type. More... | |
class | ListBufferIterator |
class | ListBufferT |
A Buffer that is constructed passing a boost::multi_array<T,2> table. This class allows to interface this table by using a buffer. More... | |
class | LocalDispatcher |
Dispatches a signal locally. More... | |
class | Logger |
Main class of the logging system. More... | |
class | LogLevelFilter |
Filters log messages corresponding to their level. More... | |
class | LogStampFilter |
Prepends a stamp to the log messages. More... | |
class | LogStream |
Manages a log stream. More... | |
class | LogStringForwarder |
class | Map |
class | NetworkInfo |
class | NoProfiling |
struct | NotEnoughMemory |
class | NotificationQueue |
Manages a notification queue. More... | |
struct | NotImplemented |
struct | NotSupported |
class | Option |
Adds fonctionnalities to Property class. More... | |
class | OptionArray |
class | OptionArrayBuilder |
class | OptionBuilder |
Interface for option builders that can be registered with the factory. More... | |
class | OptionComponent |
class | OptionComponentArrayBuilder |
Builder for OptionArrays of this component. More... | |
class | OptionComponentBuilder |
Builder for OptionComponents. More... | |
class | OptionFactory |
Factory class to buikd options dynamically. More... | |
class | OptionList |
class | OptionT |
class | OptionTBuilder |
Builders for OptionT components. More... | |
class | OptionURI |
class | OptionURIBuilder |
class | OSystem |
class | OSystemError |
class | OSystemLayer |
struct | ParallelError |
struct | ParsingFailed |
class | PosixDlopenLibLoader |
class | PrintTimingTree |
Prints the timing tree for a root component. More... | |
class | PropertyList |
struct | ProtocolError |
struct | RegisterComponent |
Helper class to register typeinfo and option type of a component This is mostly useful for abstract component classes, as builders cannot be created for this. More... | |
struct | RegisterOptionBuilder |
Helper class to register builders. More... | |
struct | RegistLibrary |
Struct to force library registration. More... | |
struct | RegistTypeInfo |
struct | SegmentationFault |
struct | SelectComponentWrapper |
Helper struct to select the correct wrapper for a component. More... | |
struct | SelectOptionType |
struct | SelectOptionType< char const * > |
struct | SelectOptionType< char[N] > |
Allow string constants without enclosing them in std::string() More... | |
struct | SelectOptionType< Handle< T > > |
Specialization for components. More... | |
struct | SelectOptionType< std::vector< T > > |
Specialization for arrays. More... | |
struct | SelectOptionType< URI > |
Specialization for URI. More... | |
struct | SetupError |
struct | ShouldNotBeHere |
class | Signal |
class | SignalDispatcher |
API to dispatch a signal call. More... | |
class | SignalError |
class | SignalHandler |
struct | StringConverter |
Prevent a crash in the intel compiler. More... | |
class | Table |
Component holding a 2 dimensional array of a templated type. More... | |
struct | TableArray |
struct | TableConstRow |
struct | TableRow |
class | TaggedObject |
Manages tags. More... | |
class | Tags |
class | TimedComponent |
Pure virtual interface for components that store timings. More... | |
struct | TypeInfo |
Handles type information This struct allows to associate a type to a string. It is a singleton. More... | |
class | URI |
struct | URLError |
class | UUCount |
Combination of a UUID and a count, together forming the equivalent of a 192-bit identifier. More... | |
struct | ValueExists |
struct | ValueNotFound |
class | WorkerStatus |
struct | XmlError |
Typedefs | |
typedef std::string | SignalID |
signal key More... | |
typedef void | SignalRet |
signal return type More... | |
typedef XML::SignalFrame | SignalArgs |
signal argument More... | |
typedef Signal * | SignalPtr |
signal pointer More... | |
typedef Signal *const | SignalCPtr |
signal pointer More... | |
typedef boost::timer | Timer |
Functions | |||
ActionDirector & | operator<< (ActionDirector &action_director, Action &action) | ||
Add a link to the passed action as a child. More... | |||
ActionDirector & | operator<< (ActionDirector &action_director, const boost::shared_ptr< Action > &action) | ||
Take ownership of the passed action, adding it as a child. More... | |||
const boost::shared_ptr< ActionDirector > & | operator<< (const boost::shared_ptr< ActionDirector > &action_director, Action &action) | ||
Add a link to the passed action as a child. More... | |||
const boost::shared_ptr< ActionDirector > & | operator<< (const boost::shared_ptr< ActionDirector > &action_director, const boost::shared_ptr< Action > &action) | ||
Take ownership of the passed action, adding it as a child. More... | |||
template<typename ActionT > | |||
ActionDirector & | operator<< (ActionDirector &action_director, const Handle< ActionT > &action) | ||
Add a link to the passed action as a child. More... | |||
template<typename ActionT > | |||
const boost::shared_ptr< ActionDirector > & | operator<< (const boost::shared_ptr< ActionDirector > &action_director, const Handle< ActionT > &action) | ||
Add a link to the passed action as a child. More... | |||
std::string | any_to_str (const boost::any &value) | ||
Converts a boost::any value to a string. More... | |||
std::string | any_type (const boost::any &value) | ||
Gives the demangled type string of a boost::any value. More... | |||
template<typename TYPE > | |||
TYPE | any_to_value (const boost::any &value) | ||
Converts a boost::any value to the provided TYPE. More... | |||
Common_TEMPLATE template bool | any_to_value< bool > (const boost::any &) | ||
Common_TEMPLATE template int | any_to_value< int > (const boost::any &) | ||
Common_TEMPLATE template Uint | any_to_value< Uint > (const boost::any &) | ||
Common_TEMPLATE template Real | any_to_value< Real > (const boost::any &) | ||
Common_TEMPLATE template std::string | any_to_value< std::string > (const boost::any &) | ||
Common_TEMPLATE template URI | any_to_value< URI > (const boost::any &) | ||
Common_TEMPLATE template UUCount | any_to_value< UUCount > (const boost::any &) | ||
Common_TEMPLATE template std::vector< bool > | any_to_value< std::vector< bool > > (const boost::any &) | ||
Common_TEMPLATE template std::vector< int > | any_to_value< std::vector< int > > (const boost::any &) | ||
Common_TEMPLATE template std::vector< Uint > | any_to_value< std::vector< Uint > > (const boost::any &) | ||
Common_TEMPLATE template std::vector< Real > | any_to_value< std::vector< Real > > (const boost::any &) | ||
Common_TEMPLATE template std::vector< std::string > | any_to_value< std::vector< std::string > > (const boost::any &) | ||
Common_TEMPLATE template std::vector< URI > | any_to_value< std::vector< URI > > (const boost::any &) | ||
Common_TEMPLATE template std::vector< UUCount > | any_to_value< std::vector< UUCount > > (const boost::any &) | ||
template<typename TYPE > | |||
Common_API TYPE | any_to_value (const boost::any &value) | ||
Converts a boost::any value to the provided TYPE. More... | |||
template<> | |||
Common_API std::string | to_str< multi_array< Uint, 2 > > (const multi_array< Uint, 2 > &v) | ||
template<> | |||
Common_API std::string | to_str< multi_array< Real, 2 > > (const multi_array< Real, 2 > &v) | ||
template<> | |||
Common_API std::string | to_str< multi_array_view< Uint, 2 > > (const multi_array_view< Uint, 2 > &v) | ||
template<> | |||
Common_API std::string | to_str< multi_array_view< Real, 2 > > (const multi_array_view< Real, 2 > &v) | ||
template<> | |||
Common_API std::string | to_str< sub_array< Real, 1 > > (const sub_array< Real, 1 > &v) | ||
RegistTypeInfo< Builder, LibCommon > | Builder_TypeRegistration () | ||
Builder & | find_builder (const std::string &builder_name) | ||
Find the builder with the given fully-qualified name. Throws if unsuccessful. More... | |||
Handle< Builder > | find_builder_ptr (const std::string &builder_name) | ||
Find the builder with the given fully-qualified name. Returns a null handle if unsuccessful. More... | |||
template<typename T > | |||
boost::shared_ptr< T > | allocate_component (const std::string &name) | ||
Stand-alone function to allocate components of a given type. More... | |||
std::ostream & | operator<< (std::ostream &os, DynTable< bool >::ConstRow row) | ||
std::ostream & | operator<< (std::ostream &os, DynTable< Uint >::ConstRow row) | ||
std::ostream & | operator<< (std::ostream &os, DynTable< int >::ConstRow row) | ||
std::ostream & | operator<< (std::ostream &os, DynTable< Real >::ConstRow row) | ||
std::ostream & | operator<< (std::ostream &os, DynTable< std::string >::ConstRow row) | ||
std::ostream & | operator<< (std::ostream &os, const DynTable< bool > &table) | ||
std::ostream & | operator<< (std::ostream &os, const DynTable< Uint > &table) | ||
std::ostream & | operator<< (std::ostream &os, const DynTable< int > &table) | ||
std::ostream & | operator<< (std::ostream &os, const DynTable< Real > &table) | ||
std::ostream & | operator<< (std::ostream &os, const DynTable< std::string > &table) | ||
std::ostream & | operator<< (std::ostream &output, cf3::common::Exception &exc) | ||
std::ostream & | operator<< (std::ostream &output, cf3::common::Exception *exc) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentIteratorSelector< ParentT, ComponentT >::type | component_begin (ParentT &component) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentIteratorSelector< ParentT, ComponentT >::type | component_end (ParentT &component) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentIteratorSelector< ParentT, ComponentT >::type | component_recursive_begin (ParentT &component) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentIteratorSelector< ParentT, ComponentT >::type | component_recursive_end (ParentT &component) | ||
template<typename T , typename Predicate > | |||
ComponentIteratorRange< T, Predicate > | make_new_range (ComponentIterator< T > from, ComponentIterator< T > to, const Predicate &pred=IsComponentTrue()) | ||
template<typename RangeT > | |||
Uint | count (const RangeT &range) | ||
Count the elements in a range. More... | |||
template<typename T > | |||
std::vector< Handle< T > > | range_to_vector (boost::iterator_range< ComponentIterator< T > > range) | ||
Create a vector of handles of components, given an iterator_range. More... | |||
template<typename T , typename Predicate > | |||
std::vector< Handle< T > > | range_to_vector (boost::iterator_range< boost::filter_iterator< Predicate, ComponentIterator< T > > > range) | ||
template<typename T > | |||
std::vector< Handle< const T > > | range_to_const_vector (boost::iterator_range< ComponentIterator< T > > range) | ||
template<typename T , typename Predicate > | |||
std::vector< Handle< const T > > | range_to_const_vector (boost::iterator_range< boost::filter_iterator< Predicate, ComponentIterator< T > > > range) | ||
template<typename Predicate , typename T > | |||
ComponentIteratorRange< T, Predicate >::type | make_filtered_range (const ComponentIterator< T > &from, const ComponentIterator< T > &to, const Predicate &pred) | ||
template<typename T > | |||
ComponentIteratorRange< T, IsComponentTrue >::type | make_filtered_range (const ComponentIterator< T > &from, const ComponentIterator< T > &to) | ||
ComponentIteratorRangeSelector< Component, Component >::type | find_components (Component &parent) | ||
ComponentIteratorRangeSelector< const Component, Component >::type | find_components (const Component &parent) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentIteratorRangeSelector< ParentT, ComponentT >::type | find_components (ParentT &parent) | ||
template<typename Predicate > | |||
ComponentIteratorRangeSelector< Component, Component, Predicate >::type | find_components_with_filter (Component &parent, const Predicate &pred) | ||
template<typename Predicate > | |||
ComponentIteratorRangeSelector< Component const, Component, Predicate >::type | find_components_with_filter (const Component &parent, const Predicate &pred) | ||
template<typename ComponentT , typename ParentT , typename Predicate > | |||
ComponentIteratorRangeSelector< ParentT, ComponentT, Predicate >::type | find_components_with_filter (ParentT &parent, const Predicate &pred) | ||
ComponentIteratorRangeSelector< Component, Component, IsComponentName >::type | find_components_with_name (Component &parent, StringConverter name) | ||
ComponentIteratorRangeSelector< Component const, Component, IsComponentName >::type | find_components_with_name (const Component &parent, StringConverter name) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentIteratorRangeSelector< ParentT, ComponentT, IsComponentName >::type | find_components_with_name (ParentT &parent, StringConverter name) | ||
ComponentIteratorRangeSelector< Component, Component, IsComponentTag >::type | find_components_with_tag (Component &parent, StringConverter tag) | ||
ComponentIteratorRangeSelector< Component const, Component, IsComponentTag >::type | find_components_with_tag (const Component &parent, StringConverter tag) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentIteratorRangeSelector< ParentT, ComponentT, IsComponentTag >::type | find_components_with_tag (ParentT &parent, StringConverter tag) | ||
ComponentIteratorRangeSelector< Component, Component >::type | find_components_recursively (Component &parent) | ||
ComponentIteratorRangeSelector< Component const, Component >::type | find_components_recursively (const Component &parent) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentIteratorRangeSelector< ParentT, ComponentT >::type | find_components_recursively (ParentT &parent) | ||
template<typename Predicate > | |||
ComponentIteratorRangeSelector< Component, Component, Predicate >::type | find_components_recursively_with_filter (Component &parent, const Predicate &pred) | ||
template<typename Predicate > | |||
ComponentIteratorRangeSelector< Component const, Component, Predicate >::type | find_components_recursively_with_filter (const Component &parent, const Predicate &pred) | ||
template<typename ComponentT , typename Predicate > | |||
ComponentIteratorRangeSelector< Component, ComponentT, Predicate >::type | find_components_recursively_with_filter (Component &parent, const Predicate &pred) | ||
template<typename ComponentT , typename Predicate > | |||
ComponentIteratorRangeSelector< Component const, ComponentT, Predicate >::type | find_components_recursively_with_filter (const Component &parent, const Predicate &pred) | ||
ComponentIteratorRangeSelector< Component, Component, IsComponentName >::type | find_components_recursively_with_name (Component &parent, StringConverter name) | ||
ComponentIteratorRangeSelector< Component const, Component, IsComponentName >::type | find_components_recursively_with_name (const Component &parent, StringConverter name) | ||
ComponentIteratorRangeSelector< Component, Component, IsComponentTag >::type | find_components_recursively_with_tag (Component &parent, StringConverter tag) | ||
ComponentIteratorRangeSelector< Component const, Component, IsComponentTag >::type | find_components_recursively_with_tag (const Component &parent, StringConverter tag) | ||
ComponentReference< Component >::type | find_component (Component &parent) | ||
ComponentReference< Component const >::type | find_component (const Component &parent) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentReference< ParentT, ComponentT >::type | find_component (ParentT &parent) | ||
ComponentHandle< Component >::type | find_component_ptr (Component &parent) | ||
ComponentHandle< Component const >::type | find_component_ptr (const Component &parent) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentHandle< ParentT, ComponentT >::type | find_component_ptr (ParentT &parent) | ||
template<typename Predicate > | |||
ComponentReference< Component >::type | find_component_with_filter (Component &parent, const Predicate &pred) | ||
template<typename Predicate > | |||
ComponentReference< Component const >::type | find_component_with_filter (const Component &parent, const Predicate &pred) | ||
template<typename ComponentT , typename ParentT , typename Predicate > | |||
ComponentReference< ParentT, ComponentT >::type | find_component_with_filter (ParentT &parent, const Predicate &pred) | ||
template<typename Predicate > | |||
ComponentHandle< Component >::type | find_component_ptr_with_filter (Component &parent, const Predicate &pred) | ||
template<typename Predicate > | |||
ComponentHandle< Component const >::type | find_component_ptr_with_filter (const Component &parent, const Predicate &pred) | ||
template<typename ComponentT , typename ParentT , typename Predicate > | |||
ComponentHandle< ParentT, ComponentT >::type | find_component_ptr_with_filter (ParentT &parent, const Predicate &pred) | ||
ComponentReference< Component >::type | find_component_with_name (Component &parent, StringConverter name) | ||
ComponentReference< Component const >::type | find_component_with_name (const Component &parent, StringConverter name) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentReference< ParentT, ComponentT >::type | find_component_with_name (ParentT &parent, StringConverter name) | ||
ComponentHandle< Component >::type | find_component_ptr_with_name (Component &parent, StringConverter name) | ||
ComponentHandle< Component const >::type | find_component_ptr_with_name (const Component &parent, StringConverter name) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentHandle< ParentT, ComponentT >::type | find_component_ptr_with_name (ParentT &parent, StringConverter name) | ||
ComponentReference< Component >::type | find_component_with_tag (Component &parent, StringConverter tag) | ||
ComponentReference< Component const >::type | find_component_with_tag (const Component &parent, StringConverter tag) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentReference< ParentT, ComponentT >::type | find_component_with_tag (ParentT &parent, StringConverter tag) | ||
ComponentHandle< Component >::type | find_component_ptr_with_tag (Component &parent, StringConverter tag) | ||
ComponentHandle< Component const >::type | find_component_ptr_with_tag (const Component &parent, StringConverter tag) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentHandle< ParentT, ComponentT >::type | find_component_ptr_with_tag (ParentT &parent, StringConverter tag) | ||
ComponentReference< Component >::type | find_component_recursively (Component &parent) | ||
ComponentReference< Component const >::type | find_component_recursively (const Component &parent) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentReference< ParentT, ComponentT >::type | find_component_recursively (ParentT &parent) | ||
ComponentHandle< Component >::type | find_component_ptr_recursively (Component &parent) | ||
ComponentHandle< Component const >::type | find_component_ptr_recursively (const Component &parent) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentHandle< ParentT, ComponentT >::type | find_component_ptr_recursively (ParentT &parent) | ||
template<typename Predicate > | |||
ComponentReference< Component >::type | find_component_recursively_with_filter (Component &parent, const Predicate &pred) | ||
template<typename Predicate > | |||
ComponentReference< Component const >::type | find_component_recursively_with_filter (const Component &parent, const Predicate &pred) | ||
template<typename ComponentT , typename ParentT , typename Predicate > | |||
ComponentReference< ParentT, ComponentT >::type | find_component_recursively_with_filter (ParentT &parent, const Predicate &pred) | ||
template<typename Predicate > | |||
ComponentHandle< Component >::type | find_component_ptr_recursively_with_filter (Component &parent, const Predicate &pred) | ||
template<typename Predicate > | |||
ComponentHandle< Component const >::type | find_component_ptr_recursively_with_filter (const Component &parent, const Predicate &pred) | ||
template<typename ComponentT , typename ParentT , typename Predicate > | |||
ComponentHandle< ParentT, ComponentT >::type | find_component_ptr_recursively_with_filter (ParentT &parent, const Predicate &pred) | ||
ComponentReference< Component >::type | find_component_recursively_with_name (Component &parent, StringConverter name) | ||
ComponentReference< Component const >::type | find_component_recursively_with_name (const Component &parent, StringConverter name) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentReference< ParentT, ComponentT >::type | find_component_recursively_with_name (ParentT &parent, StringConverter name) | ||
ComponentHandle< Component >::type | find_component_ptr_recursively_with_name (Component &parent, StringConverter name) | ||
ComponentHandle< Component const >::type | find_component_ptr_recursively_with_name (const Component &parent, StringConverter name) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentHandle< ParentT, ComponentT >::type | find_component_ptr_recursively_with_name (ParentT &parent, StringConverter name) | ||
ComponentReference< Component >::type | find_component_recursively_with_tag (Component &parent, StringConverter tag) | ||
ComponentReference< Component const >::type | find_component_recursively_with_tag (const Component &parent, StringConverter tag) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentReference< ParentT, ComponentT >::type | find_component_recursively_with_tag (ParentT &parent, StringConverter tag) | ||
ComponentHandle< Component >::type | find_component_ptr_recursively_with_tag (Component &parent, StringConverter tag) | ||
ComponentHandle< Component const >::type | find_component_ptr_recursively_with_tag (const Component &parent, StringConverter tag) | ||
template<typename ComponentT , typename ParentT > | |||
ComponentHandle< ParentT, ComponentT >::type | find_component_ptr_recursively_with_tag (ParentT &parent, StringConverter tag) | ||
template<typename ParentT , typename ComponentT , typename Predicate > | |||
ParentT & | find_parent_component_with_filter (ComponentT &comp, const Predicate &pred) | ||
template<typename ParentT , typename ComponentT , typename Predicate > | |||
Handle< ParentT > | find_parent_component_ptr_with_filter (ComponentT &comp, const Predicate &pred) | ||
template<typename ComponentT , typename Predicate > | |||
Component & | find_parent_component_with_filter (ComponentT &comp, const Predicate &pred) | ||
template<typename ComponentT , typename Predicate > | |||
Handle< Component > | find_parent_component_ptr_with_filter (ComponentT &comp, const Predicate &pred) | ||
template<typename ParentT , typename ComponentT > | |||
ParentT & | find_parent_component (ComponentT &comp) | ||
template<typename ParentT , typename ComponentT > | |||
Handle< ParentT > | find_parent_component_ptr (ComponentT &comp) | ||
template<typename ParentT , typename ComponentT > | |||
ParentT & | find_parent_component_with_name (ComponentT &comp, StringConverter name) | ||
template<typename ParentT , typename ComponentT > | |||
Handle< ParentT > | find_parent_component_with_name (ComponentT &comp, StringConverter name) | ||
template<typename ComponentT > | |||
Component & | find_parent_component_with_name (ComponentT &comp, StringConverter name) | ||
template<typename ComponentT > | |||
Handle< Component > | find_parent_component_ptr_with_name (ComponentT &comp, StringConverter name) | ||
template<typename ParentT , typename ComponentT > | |||
ParentT & | find_parent_component_with_tag (ComponentT &comp, StringConverter tag) | ||
template<typename ParentT , typename ComponentT > | |||
Handle< ParentT > | find_parent_component_ptr_with_tag (ComponentT &comp, StringConverter tag) | ||
template<typename ComponentT > | |||
Component & | find_parent_component_with_tag (ComponentT &comp, StringConverter tag) | ||
template<typename ComponentT > | |||
Handle< Component > | find_parent_component_ptr_with_tag (ComponentT &comp, StringConverter tag) | ||
RegistTypeInfo< Library, LibCommon > | Library_TypeRegistration () | ||
Handle< Component > | follow_link (const Handle< Component > &link_or_comp) | ||
Follow links or return the component itself if it's not a link. More... | |||
Handle< const Component > | follow_link (const Handle< const Component > &link_or_comp) | ||
Handle< Component > | follow_link (Component &link_or_comp) | ||
Handle< const Component > | follow_link (const Component &link_or_comp) | ||
std::ostream & | operator<< (std::ostream &os, const List< bool > &list) | ||
std::ostream & | operator<< (std::ostream &os, const List< Uint > &list) | ||
std::ostream & | operator<< (std::ostream &os, const List< int > &list) | ||
std::ostream & | operator<< (std::ostream &os, const List< Real > &list) | ||
std::ostream & | operator<< (std::ostream &os, const List< std::string > &list) | ||
template<typename T > | |||
std::string | option_vector_to_str (const std::vector< T > &vec, const std::string &delim) | ||
Helper function to convert a vector to string, skipping empty entries. More... | |||
template<typename OPTION_TYPE > | |||
void | set_option_to_list (const std::string &name, const typename OPTION_TYPE::value_type &value, OptionList &options) | ||
template<typename TYPE > | |||
void | set_array_to_list (const std::string &name, const std::vector< std::string > &values, OptionList &options) | ||
RegisterOptionBuilder | option_uri_builder (common::class_name< URI >(), new OptionURIBuilder()) | ||
template<typename VectorT , typename StreamT > | |||
void | print_vector (StreamT &stream, const VectorT &vector, const std::string &sep=" ", const std::string &prefix="", const std::string &suffix="") | ||
Print a vector enclosed in prefix and suffix, separated with the given separator. More... | |||
template<> | |||
Common_API std::string | to_str< bool > (const bool &v) | ||
template<> | |||
Common_API std::string | to_str< int > (const int &v) | ||
template<> | |||
Common_API std::string | to_str< long > (const long &v) | ||
template<> | |||
Common_API std::string | to_str< long long > (const long long &v) | ||
template<> | |||
Common_API std::string | to_str< unsigned > (const unsigned &v) | ||
template<> | |||
Common_API std::string | to_str< unsigned long > (const unsigned long &v) | ||
template<> | |||
Common_API std::string | to_str< unsigned long long > (const unsigned long long &v) | ||
template<> | |||
Common_API std::string | to_str< float > (const float &v) | ||
template<> | |||
Common_API std::string | to_str< double > (const double &v) | ||
template<> | |||
Common_API std::string | to_str< URI > (const URI &v) | ||
template<> | |||
Common_API std::string | to_str< UUCount > (const UUCount &v) | ||
template<> | |||
Common_API std::string | to_str< std::string > (const std::string &v) | ||
template<> | |||
Common_API std::string | to_str< std::vector< bool > > (const std::vector< bool > &v) | ||
template<> | |||
Common_API std::string | to_str< std::vector< int > > (const std::vector< int > &v) | ||
template<> | |||
Common_API std::string | to_str< std::vector< unsigned long > > (const std::vector< unsigned long > &v) | ||
template<> | |||
Common_API std::string | to_str< std::vector< Uint > > (const std::vector< Uint > &v) | ||
template<> | |||
Common_API std::string | to_str< std::vector< Real > > (const std::vector< Real > &v) | ||
template<> | |||
Common_API std::string | to_str< std::vector< URI > > (const std::vector< URI > &v) | ||
template<> | |||
Common_API std::string | to_str< std::vector< std::string > > (const std::vector< std::string > &v) | ||
template<> | |||
Common_API std::string | to_str< std::vector< UUCount > > (const std::vector< UUCount > &v) | ||
template<> | |||
Common_API bool | from_str< bool > (const std::string &str) | ||
template<> | |||
Common_API int | from_str< int > (const std::string &str) | ||
template<> | |||
Common_API long | from_str< long > (const std::string &str) | ||
template<> | |||
Common_API long long | from_str< long long > (const std::string &str) | ||
template<> | |||
Common_API unsigned | from_str< unsigned > (const std::string &str) | ||
template<> | |||
Common_API unsigned long | from_str< unsigned long > (const std::string &str) | ||
template<> | |||
Common_API unsigned long long | from_str< unsigned long long > (const std::string &str) | ||
template<> | |||
Common_API float | from_str< float > (const std::string &str) | ||
template<> | |||
Common_API double | from_str< double > (const std::string &str) | ||
template<> | |||
Common_API URI | from_str< URI > (const std::string &str) | ||
template<> | |||
Common_API UUCount | from_str< UUCount > (const std::string &str) | ||
template<> | |||
Common_API std::string | from_str< std::string > (const std::string &str) | ||
template<> | |||
Common_API std::vector< std::string > | from_str< std::vector< std::string > > (const std::string &str) | ||
template<typename T > | |||
Common_API std::string | to_str (const T &v) | ||
Converts to std::string. More... | |||
template<typename ComponentT > | |||
Common_API std::string | to_str (const Handle< ComponentT > &v) | ||
template<typename T > | |||
Common_API T | from_str (const std::string &str) | ||
Converts from std::string. More... | |||
std::ostream & | operator<< (std::ostream &os, const Table< bool >::ConstRow row) | ||
std::ostream & | operator<< (std::ostream &os, const Table< Uint >::ConstRow row) | ||
std::ostream & | operator<< (std::ostream &os, const Table< int >::ConstRow row) | ||
std::ostream & | operator<< (std::ostream &os, const Table< Real >::ConstRow row) | ||
std::ostream & | operator<< (std::ostream &os, const Table< std::string >::ConstRow row) | ||
std::ostream & | operator<< (std::ostream &os, const Table< bool > &table) | ||
std::ostream & | operator<< (std::ostream &os, const Table< Uint > &table) | ||
std::ostream & | operator<< (std::ostream &os, const Table< int > &table) | ||
std::ostream & | operator<< (std::ostream &os, const Table< Real > &table) | ||
std::ostream & | operator<< (std::ostream &os, const Table< std::string > &table) | ||
template<typename ValueT , typename OtherT > | |||
Table< ValueT > & | operator<< (Table< ValueT > &table, const OtherT value) | ||
Insert values using <<. More... | |||
template<typename RowT > | |||
std::vector< typename RowT::value_type > | to_vector (RowT &table_row) | ||
template<typename T , typename list_type > | |||
boost::multi_array< T, 2 > | table_array (const Uint rows, const Uint cols, const list_type &vec) | ||
template<typename T , Uint ROWS, Uint COLS, typename list_type > | |||
boost::multi_array< T, 2 > | table_array (const list_type &vec) | ||
void | store_timings (Component &root) | ||
Store accumulated timings in properties for readout. More... | |||
void | print_timing_tree (Component &root, const bool print_untimed=false, const std::string &prefix="") | ||
Print timing tree based on the existing properties. More... | |||
std::string | demangle (const char *type) | ||
Function to demangle the return of typeid() More... | |||
std::string | class_name_from_typeinfo (const std::type_info &info) | ||
template<typename TYPE > | |||
std::string | class_name () | ||
template<typename TYPE > | |||
void | regist_typeinfo (TYPE *self) | ||
Helper function to regist a type in the TypeInfo registry Typically used within the constructor of a template class. More... | |||
std::ostream & | operator<< (std::ostream &os, const URI::Scheme::Type &scheme) | ||
std::istream & | operator>> (std::istream &is, URI::Scheme::Type &scheme) | ||
std::ostream & | operator<< (std::ostream &os, const URI &uri) | ||
std::istream & | operator>> (std::istream &is, URI &uri) | ||
Common_API std::ostream & | operator<< (std::ostream &os, const WorkerStatus::Type &in) | ||
Common_API std::istream & | operator>> (std::istream &is, WorkerStatus::Type &in) | ||
name to give to the created omponent | |||
Create a component of a given abstract type using a reduced builder name
| |||
boost::shared_ptr< Component > | build_component (const std::string &builder_name, const std::string &name, const std::string &factory_type_name) | ||
boost::shared_ptr< Component > | build_component_reduced (const std::string &builder_name, const std::string &name, const std::string &factory_type_name) | ||
boost::shared_ptr< Component > | build_component (const std::string &builder_name, const std::string &name) | ||
boost::shared_ptr< Component > | build_component_nothrow (const std::string &builder_name, const std::string &name) | ||
Same as before, but will not throw and return null if something went wrong. More... | |||
template<typename ATYPE > | |||
boost::shared_ptr< ATYPE > | build_component_abstract_type (const std::string &builder_name, const std::string &name) | ||
template<typename ATYPE > | |||
boost::shared_ptr< ATYPE > | build_component_abstract_type_reduced (const std::string &builder_name, const std::string &name) | ||
Most basic kernel library.
Common Classes for Component Environment.
Common holds classes that abstract the Operating System and the Parallel environment and provide common facilities (like logging) to all other libraries. Common is the most basic of the Kernel libraries.
typedef XML::SignalFrame SignalArgs |
signal argument
Definition at line 29 of file SignalHandler.hpp.
typedef Signal* const SignalCPtr |
signal pointer
Definition at line 33 of file SignalHandler.hpp.
typedef std::string SignalID |
signal key
Definition at line 22 of file SignalHandler.hpp.
signal pointer
Definition at line 31 of file SignalHandler.hpp.
typedef void SignalRet |
signal return type
Definition at line 27 of file SignalHandler.hpp.
boost::shared_ptr<T> cf3::common::allocate_component | ( | const std::string & | name | ) |
Stand-alone function to allocate components of a given type.
A shared pointer must be returned, as this creates the very first instance of the shared_pointer. This is the most low-level component creation function
[in] | name | The name to give to the component to allocate |
Definition at line 55 of file Component.hpp.
Common_API std::string any_to_str | ( | const boost::any & | value | ) |
Converts a boost::any value to a string.
The volue must of one of the types supported by the Property facility: bool, int, Real, Uint, std::string or URI.
value | The value to convert |
ProtocolError | if the value type is not supported |
CastingFailed | if the conversion failed. |
Definition at line 22 of file BoostAnyConversion.cpp.
Common_API TYPE cf3::common::any_to_value | ( | const boost::any & | value | ) |
Converts a boost::any value to the provided TYPE.
value | The value to convert. |
CastingFailed | if the value could not be converted. |
Definition at line 76 of file BoostAnyConversion.cpp.
TYPE cf3::common::any_to_value | ( | const boost::any & | value | ) |
Converts a boost::any value to the provided TYPE.
value | The value to convert. |
CastingFailed | if the value could not be converted. |
Definition at line 76 of file BoostAnyConversion.cpp.
Common_TEMPLATE template bool cf3::common::any_to_value< bool > | ( | const boost::any & | ) |
Common_TEMPLATE template int cf3::common::any_to_value< int > | ( | const boost::any & | ) |
Common_TEMPLATE template Real cf3::common::any_to_value< Real > | ( | const boost::any & | ) |
Common_TEMPLATE template std::string cf3::common::any_to_value< std::string > | ( | const boost::any & | ) |
Common_TEMPLATE template std::vector<bool> cf3::common::any_to_value< std::vector< bool > > | ( | const boost::any & | ) |
Common_TEMPLATE template std::vector<int> cf3::common::any_to_value< std::vector< int > > | ( | const boost::any & | ) |
Common_TEMPLATE template std::vector<Real> cf3::common::any_to_value< std::vector< Real > > | ( | const boost::any & | ) |
Common_TEMPLATE template std::vector<std::string> cf3::common::any_to_value< std::vector< std::string > > | ( | const boost::any & | ) |
Common_TEMPLATE template std::vector<Uint> cf3::common::any_to_value< std::vector< Uint > > | ( | const boost::any & | ) |
Common_TEMPLATE template std::vector<URI> cf3::common::any_to_value< std::vector< URI > > | ( | const boost::any & | ) |
Common_TEMPLATE template std::vector<UUCount> cf3::common::any_to_value< std::vector< UUCount > > | ( | const boost::any & | ) |
Common_TEMPLATE template Uint cf3::common::any_to_value< Uint > | ( | const boost::any & | ) |
Common_TEMPLATE template URI cf3::common::any_to_value< URI > | ( | const boost::any & | ) |
Common_TEMPLATE template UUCount cf3::common::any_to_value< UUCount > | ( | const boost::any & | ) |
Common_API std::string any_type | ( | const boost::any & | value | ) |
Gives the demangled type string of a boost::any value.
value | The value |
Definition at line 68 of file BoostAnyConversion.cpp.
boost::shared_ptr< Component > build_component | ( | const std::string & | builder_name, |
const std::string & | name, | ||
const std::string & | factory_type_name | ||
) |
Create a component by providing the name of its builder. If factory does not exist, tries to auto-load based on the factory name. If builder does not exist, tries to auto-load based on the builder name.
[in] | provider_name | the registry string of the provider |
[in] | name | name to give to the created component |
[in] | factory_type_name | name of the factory |
Definition at line 1200 of file Component.cpp.
boost::shared_ptr< Component > build_component | ( | const std::string & | builder_name, |
const std::string & | name | ||
) |
Definition at line 1292 of file Component.cpp.
boost::shared_ptr<ATYPE> cf3::common::build_component_abstract_type | ( | const std::string & | builder_name, |
const std::string & | name | ||
) |
Definition at line 567 of file Component.hpp.
boost::shared_ptr<ATYPE> cf3::common::build_component_abstract_type_reduced | ( | const std::string & | builder_name, |
const std::string & | name | ||
) |
Definition at line 584 of file Component.hpp.
boost::shared_ptr< Component > build_component_nothrow | ( | const std::string & | builder_name, |
const std::string & | name | ||
) |
Same as before, but will not throw and return null if something went wrong.
Definition at line 1298 of file Component.cpp.
boost::shared_ptr< Component > build_component_reduced | ( | const std::string & | builder_name, |
const std::string & | name, | ||
const std::string & | factory_type_name | ||
) |
Create a component by providing the name of its builder. If factory does not exist, tries to auto-load based on the factory name. If builder does not exist, tries to auto-load based on the builder name.
[in] | provider_name | the registry string of the provider |
[in] | name | name to give to the created component |
[in] | factory_type_name | name of the factory |
Definition at line 1256 of file Component.cpp.
RegistTypeInfo<Builder,LibCommon> cf3::common::Builder_TypeRegistration | ( | ) |
std::string cf3::common::class_name | ( | ) |
Definition at line 53 of file TypeInfo.hpp.
std::string class_name_from_typeinfo | ( | const std::type_info & | info | ) |
Definition at line 72 of file TypeInfo.cpp.
|
inline |
Definition at line 78 of file FindComponents.hpp.
|
inline |
Definition at line 86 of file FindComponents.hpp.
|
inline |
Definition at line 94 of file FindComponents.hpp.
|
inline |
Definition at line 102 of file FindComponents.hpp.
Uint cf3::common::count | ( | const RangeT & | range | ) |
Count the elements in a range.
Definition at line 369 of file FindComponents.hpp.
Common_API std::string demangle | ( | const char * | type | ) |
Function to demangle the return of typeid()
Definition at line 22 of file TypeInfo.cpp.
Builder & find_builder | ( | const std::string & | builder_name | ) |
Find the builder with the given fully-qualified name. Throws if unsuccessful.
Definition at line 83 of file Builder.cpp.
Find the builder with the given fully-qualified name. Returns a null handle if unsuccessful.
Definition at line 112 of file Builder.cpp.
|
inline |
Definition at line 640 of file FindComponents.hpp.
|
inline |
Definition at line 652 of file FindComponents.hpp.
|
inline |
Definition at line 665 of file FindComponents.hpp.
|
inline |
Definition at line 677 of file FindComponents.hpp.
|
inline |
Definition at line 687 of file FindComponents.hpp.
|
inline |
Definition at line 698 of file FindComponents.hpp.
|
inline |
Definition at line 941 of file FindComponents.hpp.
|
inline |
Definition at line 951 of file FindComponents.hpp.
|
inline |
Definition at line 962 of file FindComponents.hpp.
|
inline |
Definition at line 1014 of file FindComponents.hpp.
|
inline |
Definition at line 1025 of file FindComponents.hpp.
|
inline |
Definition at line 1036 of file FindComponents.hpp.
|
inline |
Definition at line 1088 of file FindComponents.hpp.
|
inline |
Definition at line 1094 of file FindComponents.hpp.
|
inline |
Definition at line 1101 of file FindComponents.hpp.
|
inline |
Definition at line 1149 of file FindComponents.hpp.
|
inline |
Definition at line 1155 of file FindComponents.hpp.
|
inline |
Definition at line 1162 of file FindComponents.hpp.
|
inline |
Definition at line 750 of file FindComponents.hpp.
|
inline |
Definition at line 761 of file FindComponents.hpp.
|
inline |
Definition at line 772 of file FindComponents.hpp.
|
inline |
Definition at line 821 of file FindComponents.hpp.
|
inline |
Definition at line 827 of file FindComponents.hpp.
|
inline |
Definition at line 834 of file FindComponents.hpp.
|
inline |
Definition at line 883 of file FindComponents.hpp.
|
inline |
Definition at line 889 of file FindComponents.hpp.
|
inline |
Definition at line 896 of file FindComponents.hpp.
|
inline |
Definition at line 904 of file FindComponents.hpp.
|
inline |
Definition at line 916 of file FindComponents.hpp.
|
inline |
Definition at line 929 of file FindComponents.hpp.
|
inline |
Definition at line 975 of file FindComponents.hpp.
|
inline |
Definition at line 988 of file FindComponents.hpp.
|
inline |
Definition at line 1001 of file FindComponents.hpp.
|
inline |
Definition at line 1048 of file FindComponents.hpp.
|
inline |
Definition at line 1061 of file FindComponents.hpp.
|
inline |
Definition at line 1075 of file FindComponents.hpp.
|
inline |
Definition at line 1109 of file FindComponents.hpp.
|
inline |
Definition at line 1122 of file FindComponents.hpp.
|
inline |
Definition at line 1136 of file FindComponents.hpp.
|
inline |
Definition at line 711 of file FindComponents.hpp.
|
inline |
Definition at line 724 of file FindComponents.hpp.
|
inline |
Definition at line 737 of file FindComponents.hpp.
|
inline |
Definition at line 784 of file FindComponents.hpp.
|
inline |
Definition at line 797 of file FindComponents.hpp.
|
inline |
Definition at line 809 of file FindComponents.hpp.
|
inline |
Definition at line 842 of file FindComponents.hpp.
|
inline |
Definition at line 855 of file FindComponents.hpp.
|
inline |
Definition at line 869 of file FindComponents.hpp.
|
inline |
Definition at line 442 of file FindComponents.hpp.
|
inline |
Definition at line 449 of file FindComponents.hpp.
|
inline |
Definition at line 456 of file FindComponents.hpp.
|
inline |
Definition at line 530 of file FindComponents.hpp.
|
inline |
Definition at line 537 of file FindComponents.hpp.
|
inline |
Definition at line 544 of file FindComponents.hpp.
|
inline |
Definition at line 553 of file FindComponents.hpp.
|
inline |
Definition at line 560 of file FindComponents.hpp.
|
inline |
Definition at line 567 of file FindComponents.hpp.
|
inline |
Definition at line 574 of file FindComponents.hpp.
|
inline |
Definition at line 582 of file FindComponents.hpp.
|
inline |
Definition at line 588 of file FindComponents.hpp.
|
inline |
Definition at line 610 of file FindComponents.hpp.
|
inline |
Definition at line 616 of file FindComponents.hpp.
|
inline |
Definition at line 465 of file FindComponents.hpp.
|
inline |
Definition at line 472 of file FindComponents.hpp.
|
inline |
Definition at line 480 of file FindComponents.hpp.
|
inline |
Definition at line 488 of file FindComponents.hpp.
|
inline |
Definition at line 494 of file FindComponents.hpp.
|
inline |
Definition at line 501 of file FindComponents.hpp.
|
inline |
Definition at line 509 of file FindComponents.hpp.
|
inline |
Definition at line 515 of file FindComponents.hpp.
|
inline |
Definition at line 522 of file FindComponents.hpp.
ParentT& cf3::common::find_parent_component | ( | ComponentT & | comp | ) |
Definition at line 1216 of file FindComponents.hpp.
Handle<ParentT> cf3::common::find_parent_component_ptr | ( | ComponentT & | comp | ) |
Definition at line 1222 of file FindComponents.hpp.
Handle<ParentT> cf3::common::find_parent_component_ptr_with_filter | ( | ComponentT & | comp, |
const Predicate & | pred | ||
) |
Definition at line 1187 of file FindComponents.hpp.
Handle<Component> cf3::common::find_parent_component_ptr_with_filter | ( | ComponentT & | comp, |
const Predicate & | pred | ||
) |
Definition at line 1208 of file FindComponents.hpp.
Handle<Component> cf3::common::find_parent_component_ptr_with_name | ( | ComponentT & | comp, |
StringConverter | name | ||
) |
Definition at line 1248 of file FindComponents.hpp.
Handle<ParentT> cf3::common::find_parent_component_ptr_with_tag | ( | ComponentT & | comp, |
StringConverter | tag | ||
) |
Definition at line 1262 of file FindComponents.hpp.
Handle<Component> cf3::common::find_parent_component_ptr_with_tag | ( | ComponentT & | comp, |
StringConverter | tag | ||
) |
Definition at line 1274 of file FindComponents.hpp.
ParentT& cf3::common::find_parent_component_with_filter | ( | ComponentT & | comp, |
const Predicate & | pred | ||
) |
Definition at line 1172 of file FindComponents.hpp.
Component& cf3::common::find_parent_component_with_filter | ( | ComponentT & | comp, |
const Predicate & | pred | ||
) |
Definition at line 1202 of file FindComponents.hpp.
ParentT& cf3::common::find_parent_component_with_name | ( | ComponentT & | comp, |
StringConverter | name | ||
) |
Definition at line 1230 of file FindComponents.hpp.
Handle<ParentT> cf3::common::find_parent_component_with_name | ( | ComponentT & | comp, |
StringConverter | name | ||
) |
Definition at line 1236 of file FindComponents.hpp.
Component& cf3::common::find_parent_component_with_name | ( | ComponentT & | comp, |
StringConverter | name | ||
) |
Definition at line 1242 of file FindComponents.hpp.
ParentT& cf3::common::find_parent_component_with_tag | ( | ComponentT & | comp, |
StringConverter | tag | ||
) |
Definition at line 1256 of file FindComponents.hpp.
Component& cf3::common::find_parent_component_with_tag | ( | ComponentT & | comp, |
StringConverter | tag | ||
) |
Definition at line 1268 of file FindComponents.hpp.
Common_API T cf3::common::from_str | ( | const std::string & | str | ) |
Converts from std::string.
Typical use is to convert a string to numbers.
str | string to convert from |
Common_API bool cf3::common::from_str< bool > | ( | const std::string & | str | ) |
Converts from std::string Don't use this to convert to a char, use c_str for that. Typical use is to convert to numbers.
str | string to convert from |
Definition at line 236 of file StringConversion.cpp.
Common_API double cf3::common::from_str< double > | ( | const std::string & | str | ) |
Definition at line 311 of file StringConversion.cpp.
Common_API float cf3::common::from_str< float > | ( | const std::string & | str | ) |
Definition at line 299 of file StringConversion.cpp.
Common_API int cf3::common::from_str< int > | ( | const std::string & | str | ) |
Definition at line 263 of file StringConversion.cpp.
Common_API long cf3::common::from_str< long > | ( | const std::string & | str | ) |
Definition at line 269 of file StringConversion.cpp.
Common_API long long cf3::common::from_str< long long > | ( | const std::string & | str | ) |
Definition at line 275 of file StringConversion.cpp.
Common_API std::string cf3::common::from_str< std::string > | ( | const std::string & | str | ) |
Definition at line 335 of file StringConversion.cpp.
Common_API std::vector< std::string > cf3::common::from_str< std::vector< std::string > > | ( | const std::string & | str | ) |
Definition at line 341 of file StringConversion.cpp.
Common_API unsigned cf3::common::from_str< unsigned > | ( | const std::string & | str | ) |
Definition at line 281 of file StringConversion.cpp.
Common_API unsigned long cf3::common::from_str< unsigned long > | ( | const std::string & | str | ) |
Definition at line 287 of file StringConversion.cpp.
Common_API unsigned long long cf3::common::from_str< unsigned long long > | ( | const std::string & | str | ) |
Definition at line 293 of file StringConversion.cpp.
Common_API URI cf3::common::from_str< URI > | ( | const std::string & | str | ) |
Definition at line 323 of file StringConversion.cpp.
Common_API UUCount cf3::common::from_str< UUCount > | ( | const std::string & | str | ) |
Definition at line 329 of file StringConversion.cpp.
RegistTypeInfo<Library,LibCommon> cf3::common::Library_TypeRegistration | ( | ) |
|
inline |
Given two iterators delimiting a component range, return a range that conforms to the given predicate. The unfiltered version is not provided, since boost::make_iterator_range(from, to) is equivalent.
Definition at line 424 of file FindComponents.hpp.
|
inline |
Definition at line 433 of file FindComponents.hpp.
|
inline |
Definition at line 294 of file FindComponents.hpp.
std::ostream & operator<< | ( | std::ostream & | os, |
DynTable< bool >::ConstRow | row | ||
) |
Definition at line 28 of file DynTable.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const List< bool > & | list | ||
) |
std::ostream & operator<< | ( | std::ostream & | os, |
const Table< bool >::ConstRow | row | ||
) |
Definition at line 34 of file DynTable.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
DynTable< int >::ConstRow | row | ||
) |
Definition at line 40 of file DynTable.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const Table< int >::ConstRow | row | ||
) |
std::ostream & operator<< | ( | std::ostream & | os, |
DynTable< Real >::ConstRow | row | ||
) |
Definition at line 46 of file DynTable.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const Table< Real >::ConstRow | row | ||
) |
std::ostream & operator<< | ( | std::ostream & | os, |
const List< int > & | list | ||
) |
Common_API std::ostream& cf3::common::operator<< | ( | std::ostream & | os, |
const WorkerStatus::Type & | in | ||
) |
Definition at line 49 of file WorkerStatus.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
DynTable< std::string >::ConstRow | row | ||
) |
Definition at line 52 of file DynTable.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const Table< std::string >::ConstRow | row | ||
) |
ActionDirector& cf3::common::operator<< | ( | ActionDirector & | action_director, |
const Handle< ActionT > & | action | ||
) |
Add a link to the passed action as a child.
Definition at line 53 of file ActionDirector.hpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const URI::Scheme::Type & | scheme | ||
) |
std::ostream & operator<< | ( | std::ostream & | os, |
const DynTable< bool > & | table | ||
) |
Definition at line 60 of file DynTable.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const Table< bool > & | table | ||
) |
std::ostream & operator<< | ( | std::ostream & | os, |
const List< Real > & | list | ||
) |
const boost::shared_ptr<ActionDirector>& cf3::common::operator<< | ( | const boost::shared_ptr< ActionDirector > & | action_director, |
const Handle< ActionT > & | action | ||
) |
Add a link to the passed action as a child.
Definition at line 66 of file ActionDirector.hpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const URI & | uri | ||
) |
std::ostream & operator<< | ( | std::ostream & | os, |
const List< std::string > & | list | ||
) |
ActionDirector & operator<< | ( | ActionDirector & | action_director, |
Action & | action | ||
) |
Add a link to the passed action as a child.
Definition at line 76 of file ActionDirector.cpp.
Definition at line 81 of file DynTable.cpp.
ActionDirector & operator<< | ( | ActionDirector & | action_director, |
const boost::shared_ptr< Action > & | action | ||
) |
Take ownership of the passed action, adding it as a child.
Definition at line 82 of file ActionDirector.cpp.
const boost::shared_ptr< ActionDirector > & operator<< | ( | const boost::shared_ptr< ActionDirector > & | action_director, |
Action & | action | ||
) |
Add a link to the passed action as a child.
Definition at line 88 of file ActionDirector.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const Table< int > & | table | ||
) |
const boost::shared_ptr< ActionDirector > & operator<< | ( | const boost::shared_ptr< ActionDirector > & | action_director, |
const boost::shared_ptr< Action > & | action | ||
) |
Take ownership of the passed action, adding it as a child.
Definition at line 94 of file ActionDirector.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const DynTable< int > & | table | ||
) |
Definition at line 102 of file DynTable.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const Table< Real > & | table | ||
) |
std::ostream& cf3::common::operator<< | ( | std::ostream & | output, |
cf3::common::Exception & | exc | ||
) |
Definition at line 115 of file Exception.cpp.
std::ostream& cf3::common::operator<< | ( | std::ostream & | output, |
cf3::common::Exception * | exc | ||
) |
Definition at line 123 of file Exception.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const DynTable< Real > & | table | ||
) |
Definition at line 123 of file DynTable.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const Table< std::string > & | table | ||
) |
std::ostream & operator<< | ( | std::ostream & | os, |
const DynTable< std::string > & | table | ||
) |
Definition at line 144 of file DynTable.cpp.
Common_API std::istream& cf3::common::operator>> | ( | std::istream & | is, |
WorkerStatus::Type & | in | ||
) |
Definition at line 55 of file WorkerStatus.cpp.
std::istream & operator>> | ( | std::istream & | is, |
URI::Scheme::Type & | scheme | ||
) |
std::istream & operator>> | ( | std::istream & | is, |
URI & | uri | ||
) |
RegisterOptionBuilder cf3::common::option_uri_builder | ( | common::class_name< URI > | (), |
new | OptionURIBuilder() | ||
) |
std::string cf3::common::option_vector_to_str | ( | const std::vector< T > & | vec, |
const std::string & | delim | ||
) |
Helper function to convert a vector to string, skipping empty entries.
Definition at line 284 of file Option.hpp.
void print_timing_tree | ( | cf3::common::Component & | root, |
const bool | print_untimed, | ||
const std::string & | prefix | ||
) |
Print timing tree based on the existing properties.
Definition at line 38 of file TimedComponent.cpp.
void cf3::common::print_vector | ( | StreamT & | stream, |
const VectorT & | vector, | ||
const std::string & | sep = " " , |
||
const std::string & | prefix = "" , |
||
const std::string & | suffix = "" |
||
) |
Print a vector enclosed in prefix and suffix, separated with the given separator.
Definition at line 23 of file StreamHelpers.hpp.
|
inline |
Definition at line 398 of file FindComponents.hpp.
|
inline |
Definition at line 407 of file FindComponents.hpp.
|
inline |
Create a vector of handles of components, given an iterator_range.
Definition at line 380 of file FindComponents.hpp.
|
inline |
Definition at line 389 of file FindComponents.hpp.
void cf3::common::regist_typeinfo | ( | TYPE * | self | ) |
Helper function to regist a type in the TypeInfo registry Typically used within the constructor of a template class.
Definition at line 99 of file TypeInfo.hpp.
void cf3::common::set_array_to_list | ( | const std::string & | name, |
const std::vector< std::string > & | values, | ||
OptionList & | options | ||
) |
Definition at line 200 of file OptionList.cpp.
void cf3::common::set_option_to_list | ( | const std::string & | name, |
const typename OPTION_TYPE::value_type & | value, | ||
OptionList & | options | ||
) |
Definition at line 187 of file OptionList.cpp.
void store_timings | ( | Component & | root | ) |
Store accumulated timings in properties for readout.
Definition at line 24 of file TimedComponent.cpp.
boost::multi_array<T,2> cf3::common::table_array | ( | const Uint | rows, |
const Uint | cols, | ||
const list_type & | vec | ||
) |
Definition at line 45 of file Table_fwd.hpp.
boost::multi_array<T,2> cf3::common::table_array | ( | const list_type & | vec | ) |
Definition at line 54 of file Table_fwd.hpp.
Common_API std::string cf3::common::to_str | ( | const T & | v | ) |
Converts to std::string.
Don't use this to convert to a char, use c_str for that. Typical use is to convert numbers to a string.
v | value to convert to string |
Common_API std::string cf3::common::to_str | ( | const Handle< ComponentT > & | v | ) |
Definition at line 35 of file StringConversion.hpp.
Common_API std::string cf3::common::to_str< bool > | ( | const bool & | v | ) |
Definition at line 30 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< double > | ( | const double & | v | ) |
Definition at line 96 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< float > | ( | const float & | v | ) |
Definition at line 87 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< int > | ( | const int & | v | ) |
Definition at line 51 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< long > | ( | const long & | v | ) |
Definition at line 57 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< long long > | ( | const long long & | v | ) |
Definition at line 63 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< multi_array< Real, 2 > > | ( | const multi_array< Real, 2 > & | v | ) |
Definition at line 32 of file BoostArray.cpp.
Common_API std::string cf3::common::to_str< multi_array< Uint, 2 > > | ( | const multi_array< Uint, 2 > & | v | ) |
Definition at line 17 of file BoostArray.cpp.
Common_API std::string cf3::common::to_str< multi_array_view< Real, 2 > > | ( | const multi_array_view< Real, 2 > & | v | ) |
Definition at line 62 of file BoostArray.cpp.
Common_API std::string cf3::common::to_str< multi_array_view< Uint, 2 > > | ( | const multi_array_view< Uint, 2 > & | v | ) |
Definition at line 47 of file BoostArray.cpp.
Common_API std::string cf3::common::to_str< std::string > | ( | const std::string & | v | ) |
Definition at line 118 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< std::vector< bool > > | ( | const std::vector< bool > & | v | ) |
Definition at line 124 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< std::vector< int > > | ( | const std::vector< int > & | v | ) |
Definition at line 137 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< std::vector< Real > > | ( | const std::vector< Real > & | v | ) |
Definition at line 176 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< std::vector< std::string > > | ( | const std::vector< std::string > & | v | ) |
Definition at line 202 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< std::vector< Uint > > | ( | const std::vector< Uint > & | v | ) |
Definition at line 163 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< std::vector< unsigned long > > | ( | const std::vector< unsigned long > & | v | ) |
Definition at line 150 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< std::vector< URI > > | ( | const std::vector< URI > & | v | ) |
Definition at line 189 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< std::vector< UUCount > > | ( | const std::vector< UUCount > & | v | ) |
Definition at line 216 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< sub_array< Real, 1 > > | ( | const sub_array< Real, 1 > & | v | ) |
Definition at line 77 of file BoostArray.cpp.
Common_API std::string cf3::common::to_str< unsigned > | ( | const unsigned & | v | ) |
Definition at line 69 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< unsigned long > | ( | const unsigned long & | v | ) |
Definition at line 75 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< unsigned long long > | ( | const unsigned long long & | v | ) |
Definition at line 81 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< URI > | ( | const URI & | v | ) |
Definition at line 106 of file StringConversion.cpp.
Common_API std::string cf3::common::to_str< UUCount > | ( | const UUCount & | v | ) |
Definition at line 112 of file StringConversion.cpp.
std::vector<typename RowT::value_type> cf3::common::to_vector | ( | RowT & | table_row | ) |
cf3::common::ComponentBuilder< CConcrete1, CAbstract, LibCommon > aConcrete1Component_Builder |
Definition at line 97 of file DummyComponents.hpp.
cf3::common::ComponentBuilder< CConcrete2, CAbstract, LibCommon > aConcrete2Component_Builder |
Definition at line 99 of file DummyComponents.hpp.
ComponentBuilder< ActionDirector, Action, LibCommon > ActionDirector_Builder |
Definition at line 29 of file ActionDirector.cpp.
common::ComponentBuilder< common::ArrayDiff, common::Action, LibCommon> anArrayDiff_Builder |
Definition at line 31 of file ArrayDiff.cpp.
RegisterOptionBuilder bool_array_builder(common::class_name< std::vector< bool > >(), new OptionArrayBuilder< bool >()) |
RegisterOptionBuilder bool_builder(common::class_name< bool >(), new OptionTBuilder< bool >()) |
ComponentBuilder< Component, Component, LibCommon > Component_Builder |
Definition at line 51 of file Component.cpp.
common::ComponentBuilder< DynTable<bool>, Component, LibCommon > DynTable_bool_Builder |
Definition at line 16 of file DynTable.cpp.
common::ComponentBuilder< DynTable<int>, Component, LibCommon > DynTable_int_Builder |
Definition at line 20 of file DynTable.cpp.
common::ComponentBuilder< DynTable<Real>, Component, LibCommon > DynTable_Real_Builder |
Definition at line 22 of file DynTable.cpp.
common::ComponentBuilder< DynTable<std::string>, Component, LibCommon > DynTable_string_Builder |
Definition at line 24 of file DynTable.cpp.
common::ComponentBuilder< DynTable<Uint>, Component, LibCommon > DynTable_Uint_Builder |
Definition at line 18 of file DynTable.cpp.
common::ComponentBuilder< Environment, Component, LibCommon > Environment_Builder |
Definition at line 21 of file Environment.cpp.
common::ComponentBuilder< Group, Component, LibCommon > Group_Builder |
RegisterOptionBuilder int_array_builder(common::class_name< std::vector< int > >(), new OptionArrayBuilder< int >()) |
RegisterOptionBuilder int_builder(common::class_name< int >(), new OptionTBuilder< int >()) |
common::ComponentBuilder< Journal, Component, LibCommon > Journal_Builder |
Definition at line 34 of file Journal.cpp.
cf3::common::RegistLibrary<LibCommon> libCommon |
Definition at line 14 of file LibCommon.cpp.
common::ComponentBuilder< Link, Component, LibCommon > Link_Builder |
common::ComponentBuilder< List<bool>, Component, LibCommon > List_bool_Builder |
common::ComponentBuilder< List<int>, Component, LibCommon > List_int_Builder |
common::ComponentBuilder< List<Real>, Component, LibCommon > List_Real_Builder |
common::ComponentBuilder< List<std::string>, Component, LibCommon > List_string_Builder |
common::ComponentBuilder< List<Uint>, Component, LibCommon > List_Uint_Builder |
common::ComponentBuilder< NoProfiling, CodeProfiler, LibCommon > NoProfiling_Builder |
Definition at line 17 of file NoProfiling.cpp.
Common_TEMPLATE template class OptionT< bool > |
explicit instantiation to avoid missing symbols in certain compilers
Definition at line 255 of file OptionT.cpp.
Common_TEMPLATE template class OptionT< int > |
Definition at line 256 of file OptionT.cpp.
ComponentBuilder< PrintTimingTree, Action, LibCommon > PrintTimingTree_Builder |
Definition at line 16 of file PrintTimingTree.cpp.
RegisterOptionBuilder Real_array_builder(common::class_name< std::vector< Real > >(), new OptionArrayBuilder< Real >()) |
RegisterOptionBuilder Real_builder(common::class_name< Real >(), new OptionTBuilder< Real >()) |
RegisterComponent<Action,LibCommon> register_action |
Definition at line 23 of file Action.cpp.
RegisterOptionBuilder string_array_builder(common::class_name< std::vector< std::string > >(), new OptionArrayBuilder< std::string >()) |
RegisterOptionBuilder string_builder(common::class_name< std::string >(), new OptionTBuilder< std::string >()) |
common::ComponentBuilder< Table<bool>, Component, LibCommon > Table_bool_Builder |
common::ComponentBuilder< Table<int>, Component, LibCommon > Table_int_Builder |
common::ComponentBuilder< Table<Real>, Component, LibCommon > Table_Real_Builder |
common::ComponentBuilder< Table<std::string>, Component, LibCommon > Table_string_Builder |
common::ComponentBuilder< Table<Uint>, Component, LibCommon > Table_Uint_Builder |
RegisterOptionBuilder uint_array_builder(common::class_name< std::vector< Uint > >(), new OptionArrayBuilder< Uint >()) |
RegisterOptionBuilder uint_builder(common::class_name< Uint >(), new OptionTBuilder< Uint >()) |
RegisterOptionBuilder uri_array_builder(common::class_name< std::vector< URI > >(), new OptionArrayBuilder< URI >()) |
RegisterOptionBuilder uucount_builder(common::class_name< UUCount >(), new OptionTBuilder< UUCount >()) |
Send comments to: COOLFluiD Web Admin |