NCBI C++ ToolKit
Classes | Macros | Functions
tempstr.hpp File Reference
#include <corelib/ncbiexpt.hpp>
#include <algorithm>
+ Include dependency graph for tempstr.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CTempString
 CTempString implements a light-weight string on top of a storage buffer whose lifetime management is known and controlled. More...
 
class  CTempStringEx
 
class  CTempString_Storage
 Helper class to allocate memory for CTempString[Ex] on demand in the functions which need to modify the strings (e.g. More...
 

Macros

#define NCBI_TEMPSTR_MAKE_COPY()
 
#define NCBI_TEMPSTR_DESTROY_COPY()
 

Functions

string g_CTempString_plus (const char *str1, size_t len1, const char *str2, size_t len2)
 
string operator+ (const char *str1, const CTempString str2)
 
string operator+ (const CTempString str1, const char *str2)
 
string operator+ (const string &str1, const CTempString str2)
 
string operator+ (const CTempString str1, const string &str2)
 
string operator+ (const CTempString str1, const CTempString str2)
 
CNcbiOstreamoperator<< (CNcbiOstream &out, const CTempString str)
 
template<size_t Size>
CTempString literal (const char(&str)[Size])
 Templatized initialization from a string literal. More...
 
bool operator== (const char *str1, const CTempString str2)
 
bool operator== (const string &str1, const CTempString str2)
 
bool operator!= (const char *str1, const CTempString str2)
 
bool operator!= (const string &str1, const CTempString str2)
 
bool operator< (const char *str1, const CTempString str2)
 
bool operator< (const string &str1, const CTempString str2)
 
bool operator> (const char *str1, const CTempString str2)
 
bool operator> (const string &str1, const CTempString str2)
 
Modified on Fri Apr 12 17:23:32 2024 by modify_doxy.py rev. 669887