 |
XMP Toolkit SDK
6.0.0
|
Go to the documentation of this file. 1 #ifndef __IUTF8String_h__
2 #define __IUTF8String_h__ 1
134 virtual void APICALL resize(
sizet n ) = 0 ;
182 virtual sizet APICALL copy(
char * buf,
sizet len,
sizet pos = 0 )
const = 0;
197 return find( buf, pos,
npos );
213 virtual sizet APICALL find(
const char * buf,
sizet pos,
sizet count )
const = 0;
246 return rfind( buf, pos,
npos );
248 virtual sizet APICALL rfind(
const char * buf,
sizet pos,
sizet count )
const = 0;
286 return compare( 0, size(), buf,
npos );
308 return compare( pos, len, buf,
npos );
350 return compare( 0, size(), str, 0, str->size() );
393 virtual bool APICALL empty()
const = 0;
399 virtual const char * APICALL c_str() const
__NOTHROW__ = 0;
420 return const_cast< IUTF8String_v1 *
>( this )->GetActualIUTF8String();
498 #ifdef FRIEND_CLASS_DECLARATION
499 FRIEND_CLASS_DECLARATION();
506 #endif // __IUTF8String_h__
const typedef IUTF8String_v1 * pcIUTF8String_base
IUTF8String * pIUTF8String
IObjectFactory * pIObjectFactory
shared_ptr< const IUTF8String > spcIUTF8String
const sizet npos(kMaxSize)
shared_ptr< IUTF8String > spIUTF8String
static const uint64 kIUTF8StringID(0x6e55544638537472)
int32 compare(const char *buf) const
Compare strings.
Interface that serves as the base interface for all the externally exposed interfaces which needs to ...
int32 compare(const spcIUTF8String &str) const
Compare strings.
#define REQ_FRIEND_CLASS_DECLARATION()
const typedef IUTF8String * pcIUTF8String
IUTF8String_v1 * pIUTF8String_base
sizet rfind(const char *buf, sizet pos=npos) const
Find last occurrence of content in string.
Version1 of the interface that represents an UTF8String.
virtual ~IUTF8String_v1() __NOTHROW__
sizet find(const char *buf, sizet pos=0) const
Find content in string.
int32 compare(sizet pos, sizet len, const char *buf) const
Compare strings.
const typedef IError_v1 * pcIError_base
Interface that serves as the base interface of all the externally exposed interfaces.