All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Classes | Namespaces | Functions
components_replace.hpp File Reference
#include "paal/data_structures/components/components.hpp"

Go to the source code of this file.

Classes

class  paal::data_structures::replaced_type< Name, NewType, components >
 Generic version of replaced_type. More...
 
class  paal::data_structures::replaced_type< Name, NewType, detail::components< Names, Types > >
 
class  paal::data_structures::detail::get_types< Comp >
 generic get_types More...
 
struct  paal::data_structures::detail::get_types< components< Names, Types > >
 
class  paal::data_structures::detail::temp_replaced_components< Name, NewType, Names, Types >
 

Namespaces

 paal
 global namespace of project.
 
 paal::data_structures
 Data Structure namespace.
 
 paal::data_structures::detail
 Detail of Data Structure namespace.
 

Functions

template<typename Name , typename NewType , typename Names , typename Types >
replaced_type< Name, NewType,
detail::components< Names,
Types > >::type 
paal::data_structures::replace (NewType comp, detail::components< Names, Types > components)
 This function, for a specific Name, replaces compoonent in the components class. The comonent should have deifferent type than prevoius component for this Name (If the type is the same, set member function from components class chould be used). The function returns components class fo type replaced_type<Name, NewType, Oldcomponents >::type. The function creates temporary object wich behaves like result components and creates final object calling special Copy constructor. More...
 

Detailed Description

Author
Piotr Wygocki
Version
1.0
Date
2013-07-24

Definition in file components_replace.hpp.