Ice 3.7 C++11 API Reference
Loading...
Searching...
No Matches
IceGrid::BoxedString Class Reference

A "boxed" string. More...

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::BoxedString:
Collaboration diagram for IceGrid::BoxedString:

Public Member Functions

 BoxedString ()=default
 BoxedString (BoxedString &&)=default
 BoxedString (const ::std::string &value)
 One-shot constructor to initialize all data members.
 BoxedString (const BoxedString &)=default
std::tuple< const ::std::string & > ice_tuple () const
 Obtains a tuple containing all of the value's data members.
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.

Public Attributes

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

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()

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: