bstr.h File Reference

#include <comet/config.h>
#include <wtypes.h>
#include <malloc.h>
#include <stdexcept>
#include <oleauto.h>
#include <string>
#include <functional>
#include <limits.h>
#include <comet/assert.h>
#include <comet/common.h>
#include <comet/static_assert.h>
#include <comet/error_fwd.h>
#include <comet/uuid_fwd.h>
#include <comet/currency.h>
#include <comet/type_traits.h>
#include <comet/variant.h>
#include <comet/uuid.h>

Include dependency graph for bstr.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  comet
namespace  comet::impl
namespace  std

Classes

class  comet::bstr_t
struct  comet::bstr_t::less< CF >
 Less Functor. More...
struct  comet::bstr_t::less_equal< CF >
 less or equal functor. More...
struct  comet::bstr_t::greater< CF >
 greater functor. More...
struct  comet::bstr_t::greater_equal< CF >
 greater or equal functor. More...
struct  comet::bstr_t::equal_to< CF >
 equality functor. More...
struct  comet::bstr_t::not_equal_to< CF >
 Inequality functor. More...

Defines

#define NORM_IGNOREKASHIDA   0x00040000

Enumerations

enum  compare_flags_t {
  cf_ignore_case = NORM_IGNORECASE, cf_ingore_nonspace = NORM_IGNORENONSPACE, cf_ignore_symbols = NORM_IGNORESYMBOLS, cf_ignore_width = NORM_IGNOREWIDTH,
  cf_ignore_kanatype = NORM_IGNOREKANATYPE, cf_ignore_kashida = NORM_IGNOREKASHIDA
}
 Comparsion flags. More...

Functions

const wchar_t * null_to_empty (const wchar_t *s)
bstr_t operator+ (const std::wstring &s, const bstr_t &t) throw (std::bad_alloc)
 Concat operation.
bstr_t operator+ (const wchar_t *s, const bstr_t &t) throw (std::bad_alloc)
 Concat operation.
template<> void swap (comet::bstr_t &x, comet::bstr_t &y) COMET_STD_SWAP_NOTHROW


Detailed Description

BSTR wrapper classes.