BLPAPI C++
3.21.0
|
Provide a representation of strings for use as container keys. More...
Namespaces | |
BloombergLP | |
BloombergLP::blpapi | |
Classes | |
class | Name |
Functions | |
bool | operator== (const Name &lhs, const Name &rhs) |
bool | operator!= (const Name &lhs, const Name &rhs) |
bool | operator== (const Name &lhs, const char *rhs) |
bool | operator!= (const Name &lhs, const char *rhs) |
bool | operator== (const char *lhs, const Name &rhs) |
bool | operator!= (const char *lhs, const Name &rhs) |
bool | operator< (const Name &lhs, const Name &rhs) |
bool | operator<= (const Name &lhs, const Name &rhs) |
bool | operator> (const Name &lhs, const Name &rhs) |
bool | operator>= (const Name &lhs, const Name &rhs) |
std::ostream & | operator<< (std::ostream &stream, const Name &name) |
Provide a representation of strings for use as container keys.
blpapi::Name | constant string in an efficient form for use as container keys |
Return false if the specified lhs
and rhs
name objects have the same value, and true otherwise. Two Name
objects a
and b
have the same value if and only if strcmp(a.string(), b.string()) == 0
. Note that lhs != rhs
is equivalent to !(lhs==rhs)
.
bool operator!= | ( | const Name & | lhs, |
const char * | rhs | ||
) |
Return false if the specified lhs
and rhs
have the same value, and true otherwise. A Name
object a
and a null-terminated string b
have the same value if and only if strcmp(a.string(), b) == 0
. The behavior is undefined unless rhs
is a null-terminated string.
bool operator!= | ( | const char * | lhs, |
const Name & | rhs | ||
) |
Return false if the specified lhs
and rhs
have the same value, and true otherwise. A Name
object a
and a null-terminated string b
have the same value if and only if strcmp(a.string(), b) == 0
. The behavior is undefined unless lhs
is a null-terminated string.
Return true
if the specified lhs
is ordered before the specified rhs
, and false
otherwise. The ordering used is stable within the lifetime of a single process and is compatible with operator==(const Name&, const Name&)
, however this order is neither guaranteed to be consistent across different processes (including repeated runs of the same process), nor guaranteed to be lexical (i.e. compatible with strcmp
).
std::ostream & operator<< | ( | std::ostream & | stream, |
const Name & | name | ||
) |
Write the value of the specified name
object to the specified output stream
, and return a reference to stream
. Note that this human-readable format is not fully specified and can change without notice.
Return false
if the specified rhs
is ordered before the specified lhs
, and true
otherwise. The ordering used is stable within the lifetime of a single process and is compatible with operator==(const Name&, const Name&)
, however this order is neither guaranteed to be consistent across different processes (including repeated runs of the same process), nor guaranteed to be lexical (i.e. compatible with strcmp
).
Return true if the specified lhs
and rhs
name objects have the same value, and false otherwise. Two Name
objects a
and b
have the same value if and only if strcmp(a.string(), b.string()) == 0
.
bool operator== | ( | const Name & | lhs, |
const char * | rhs | ||
) |
Return true if the specified lhs
and rhs
have the same value, and false otherwise. A Name
object a
and a null-terminated string b
have the same value if and only if strcmp(a.string(), b) == 0
. The behavior is undefined unless rhs
is a null-terminated string.
bool operator== | ( | const char * | lhs, |
const Name & | rhs | ||
) |
Return true if the specified lhs
and rhs
have the same value, and false otherwise. A Name
object a
and a null-terminated string b
have the same value if and only if strcmp(a.string(), b) == 0
. The behavior is undefined unless lhs
is a null-terminated string.
Return true
if the specified rhs
is ordered before the specified lhs
, and false
otherwise. The ordering used is stable within the lifetime of a single process and is compatible with operator==(const Name&, const Name&)
, however this order is neither guaranteed to be consistent across different processes (including repeated runs of the same process), nor guaranteed to be lexical (i.e. compatible with strcmp
).
Return false
if the specified lhs
is ordered before the specified rhs
, and true
otherwise. The ordering used is stable within the lifetime of a single process and is compatible with operator==(const Name&, const Name&)
, however this order is neither guaranteed to be consistent across different processes (including repeated runs of the same process), nor guaranteed to be lexical (i.e. compatible with strcmp
).