noos::cloud::cloud_base< data_class > Class Template Reference

cloud service base class More...

#include <cloud_base.hpp>

Public Types

using data_type = data_class
 

Public Member Functions

 cloud_base (bool single_call)
 Constructor. More...
 
bool is_single_callable () const
 
std::string make_http_uri (std::string uri) const
 

Detailed Description

template<class data_class>
class noos::cloud::cloud_base< data_class >

cloud service base class

Note
defines if it is a single callable service or part of a batch
it also has the data_class object which is used in deserialisation
Version
0.7.3
Date
2 June 2017
Author
Alex Giokas a.gki.nosp@m.okas.nosp@m.@orte.nosp@m.lio..nosp@m.co.uk
Inheritance diagram for noos::cloud::cloud_base< data_class >:

Constructor & Destructor Documentation

template<class data_class >
noos::cloud::cloud_base< data_class >::cloud_base ( bool  single_call)

Constructor.

Parameters
init_valuedefines if the service is single callable(true) or not

Member Function Documentation

template<class data_class >
bool noos::cloud::cloud_base< data_class >::is_single_callable ( ) const
inline
Returns
boolean to know if it's the service is a single call or part of a batch
template<class data_class >
std::string noos::cloud::cloud_base< data_class >::make_http_uri ( std::string  uri) const
Returns
std::string with URI for HTTP header
Parameters
uriis the uri of the service

The documentation for this class was generated from the following file: