Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
basic::datacache::CacheableString Class Reference

Wrapper for std::string. More...

#include <CacheableString.hh>

Inheritance diagram for basic::datacache::CacheableString:
Inheritance graph
[legend]

Public Member Functions

 CacheableString (std::string const &str)
 
 ~CacheableString () override
 
CacheableDataOP clone () const override
 
virtual std::string const & str () const
 
CacheableStringOP shared_from_this ()
 
- Public Member Functions inherited from basic::datacache::CacheableData
CacheableDataCOP get_self_ptr () const
 self pointers More...
 
CacheableDataOP get_self_ptr ()
 
CacheableDataCAP get_self_weak_ptr () const
 
CacheableDataAP get_self_weak_ptr ()
 
 ~CacheableData () override
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Private Attributes

std::string str_
 

Detailed Description

Wrapper for std::string.

Constructor & Destructor Documentation

basic::datacache::CacheableString::CacheableString ( std::string const &  str)
basic::datacache::CacheableString::~CacheableString ( )
overridedefault

Member Function Documentation

CacheableDataOP basic::datacache::CacheableString::clone ( ) const
overridevirtual
CacheableStringOP basic::datacache::CacheableString::shared_from_this ( )
std::string const & basic::datacache::CacheableString::str ( ) const
virtual

References str_.

Member Data Documentation

std::string basic::datacache::CacheableString::str_
private

Referenced by str().


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