OdbDesign
OdbDesign ODB++ Parser - C++ library, gRPC/REST server, CLI, tests
 
Loading...
Searching...
No Matches
Utils::CrowReturnable< T > Class Template Referenceabstract

#include <CrowReturnable.h>

Inheritance diagram for Utils::CrowReturnable< T >:
[legend]
Collaboration diagram for Utils::CrowReturnable< T >:
[legend]

Public Member Functions

 CrowReturnable (const T &t, const std::string &contentType)
 

Protected Member Functions

std::string dump () const override
 
virtual std::string to_string () const =0
 

Protected Attributes

const T & m_t
 

Detailed Description

template<typename T>
class Utils::CrowReturnable< T >

Definition at line 8 of file CrowReturnable.h.

Constructor & Destructor Documentation

◆ CrowReturnable()

template<typename T >
Utils::CrowReturnable< T >::CrowReturnable ( const T &  t,
const std::string &  contentType 
)
inline

Definition at line 11 of file CrowReturnable.h.

Member Function Documentation

◆ dump()

template<typename T >
std::string Utils::CrowReturnable< T >::dump ( ) const
inlineoverrideprotected

Definition at line 27 of file CrowReturnable.h.

◆ to_string()

template<typename T >
virtual std::string Utils::CrowReturnable< T >::to_string ( ) const
protectedpure virtual

Member Data Documentation

◆ m_t

template<typename T >
const T& Utils::CrowReturnable< T >::m_t
protected

Definition at line 17 of file CrowReturnable.h.


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