|
|
template<unsigned mxsize> |
| bool | dueca::operator== (const Dstring< mxsize > &s, const char *o) |
| | Test for equality with a c-style string.
|
| |
|
template<unsigned mxsize> |
| bool | dueca::operator== (const char *o, const Dstring< mxsize > &s) |
| | Test for equality with a c-style string, version 2.
|
| |
|
template<unsigned mxsize> |
| bool | dueca::operator== (const Dstring< mxsize > &s, const std::string &o) |
| | Test for equality with a standard library string.
|
| |
|
template<unsigned mxsize> |
| bool | dueca::operator== (const std::string &o, const Dstring< mxsize > &s) |
| | Test for equality with a standard library string.
|
| |
|
template<unsigned mxsize> |
| void | packData (dueca::AmorphStore &s, const dueca::Dstring< mxsize > &o) |
| | Packs a Dstring into an amorpous storage object.
|
| |
|
template<unsigned mxsize> |
| void | unPackData (dueca::AmorphReStore &s, dueca::Dstring< mxsize > &o) |
| | Unpacks a Dstring from an amorpous storage object.
|
| |
|
template<unsigned mxsize> |
| ostream & | std::operator<< (ostream &os, const dueca::Dstring< mxsize > &o) |
| | Print a Dstring to stream.
|
| |
|
template<unsigned mxsize> |
| istream & | std::operator>> (istream &is, dueca::Dstring< mxsize > &o) |
| | Read a Dstring from a stream.
|
| |
| template<typename S , unsigned mxsize> |
| void | msgunpack::msg_unpack (S &i0, const S &iend, dueca::Dstring< mxsize > &s) |
| | Unpack a DUECA dstring from a msgpack visitor.
|
| |
This implements a fixed-length string class.
The Dstring (templated) string class uses a fixed maximum length for the string. this makes it possible to use fast real-time allocation of string data storage.
Do not include this file directly. Use the "stringoptions.h" file instead. This file defines four different fixed-size strings and a variable size string. Use of this file ensures uniformity of the string types used in one node.