kstring.h

Detailed Description

Definition in filekstring.h.

#include<string.h>
#include<fbxfilesdk/components/kbaselib/kbaselib_h.h>
#include<fbxfilesdk/components/kbaselib/klib/kscopedptr.h>
#include<fbxfilesdk/fbxfilesdk_nsbegin.h>
#include<fbxfilesdk/fbxfilesdk_nsend.h>

Include dependency graph for kstring.h:

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

Go to the source code of this file.


Classes

class KString
 Utility class to manipulate strings.More...
class KStringCompare
 Functor class suitable for use in KMap.More...

Functions

KFBX_DLLKString operator+(constKString&pKStr1, constKString&pKStr2)
 KStringconcatenation.
KFBX_DLLKString operator+(constKString&pKStr, char pChar)
 Character concatenation.
KFBX_DLLKString operator+(constKString&pKStr, const char *pStr)
 String concatenation.
KFBX_DLLKString operator+(constKString&pKStr, int pValue)
 Int concatenation.
KFBX_DLLKString operator+(constKString&pKStr, float pValue)
 Float concatenation.
void StripQuotationMarks(KString&str)
 Strip the first and last character of the given string assuming they are quotation marks.
void RemoveChar(KString&pString, char lToRemove)
 Remove the given char in the given string.

Function Documentation

KFBX_DLLKStringoperator+(constKStringpKStr,
float pValue 
)

Float concatenation.

Parameters:
pKStr TheKStringbe be concatenated.
pValue The float value be be concatenated.

KFBX_DLLKStringoperator+(constKStringpKStr,
int pValue 
)

Int concatenation.

Parameters:
pKStr TheKStringbe be concatenated.
pValue The int value be be concatenated.

KFBX_DLLKStringoperator+(constKStringpKStr,
const char * pStr 
)

String concatenation.

Parameters:
pKStr TheKStringbe be concatenated.
pStr The string to be concatenated.

KFBX_DLLKStringoperator+(constKStringpKStr,
char pChar 
)

Character concatenation.

Parameters:
pKStr TheKStringbe be concatenated.
pChar The character to be concatenated.

KFBX_DLLKStringoperator+(constKStringpKStr1,
constKStringpKStr2 
)

KStringconcatenation.

Parameters:
pKStr1 The firstKStringto be concatenated.
pKStr2 The secondKStringto be concatenated.

void RemoveChar(KStringpString,
char lToRemove 
)[inline]

Remove the given char in the given string.

( It is case sensitive

Parameters:
pString The given string.
lToRemove The given char ought to be removed.( It is case sensitive.)

Definition at line642of filekstring.h.

ReferencesKString::Left(),KString::Mid(), andKString::ReverseFind().

void StripQuotationMarks(KStringstr ) [inline]

Strip the first and last character of the given string assuming they are quotation marks.

Parameters:
str The given string.

Definition at line633of filekstring.h.

ReferencesKString::GetLen(), andKString::Mid().