Ice 3.7 C++11 API Reference
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
IceGrid::BoxedString Class Reference

A "boxed" string. More...

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::BoxedString:
Inheritance graph
[legend]
Collaboration diagram for IceGrid::BoxedString:
Collaboration graph
[legend]

Public Member Functions

 BoxedString ()=default
 
 BoxedString (BoxedString &&)=default
 
 BoxedString (const ::std::string &value)
 One-shot constructor to initialize all data members. More...
 
 BoxedString (const BoxedString &)=default
 
std::tuple< const ::std::string & > ice_tuple () const
 Obtains a tuple containing all of the value's data members. More...
 
BoxedStringoperator= (BoxedString &&)=default
 
BoxedStringoperator= (const BoxedString &)=default
 
virtual ~BoxedString ()
 

Static Public Member Functions

static const ::std::string & ice_staticId ()
 Obtains the Slice type ID of this value. More...
 

Public Attributes

::std::string value
 The value of the boxed string. More...
 

Detailed Description

A "boxed" string.

Constructor & Destructor Documentation

◆ ~BoxedString()

virtual IceGrid::BoxedString::~BoxedString ( )
virtual

◆ BoxedString() [1/4]

IceGrid::BoxedString::BoxedString ( )
default

◆ BoxedString() [2/4]

IceGrid::BoxedString::BoxedString ( const BoxedString )
default

◆ BoxedString() [3/4]

IceGrid::BoxedString::BoxedString ( BoxedString &&  )
default

◆ BoxedString() [4/4]

IceGrid::BoxedString::BoxedString ( const ::std::string &  value)
inlineexplicit

One-shot constructor to initialize all data members.

Parameters
valueThe value of the boxed string.

Member Function Documentation

◆ ice_staticId()

static const ::std::string& IceGrid::BoxedString::ice_staticId ( )
static

Obtains the Slice type ID of this value.

Returns
The fully-scoped type ID.

◆ ice_tuple()

std::tuple<const ::std::string&> IceGrid::BoxedString::ice_tuple ( ) const
inline

Obtains a tuple containing all of the value's data members.

Returns
The data members in a tuple.

◆ operator=() [1/2]

BoxedString& IceGrid::BoxedString::operator= ( BoxedString &&  )
default

◆ operator=() [2/2]

BoxedString& IceGrid::BoxedString::operator= ( const BoxedString )
default

Member Data Documentation

◆ value

::std::string IceGrid::BoxedString::value

The value of the boxed string.


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