SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND


Namespace Platform

namespace Platform

Defines fundamental types and operations used by the platform.

Inner Compounds, Typedefs, and Enumscollapse
class Allocator
          Memory allocator.
class DateTime
          Represents the time and date.
class Exception
          Represents a generic form of throwable type concept.
struct Pair
          Represente a pair of objects.
class Path
          Represents a path to a filesystem object such as a file or directory.
class Scoped
          An automatic pointer.
class Smart
          An automatic pointer with reference counting and transfer-of-ownership semantics.
class String
          A string represents a sequence of Char type characters.
typedef Bool
          Represents a boolean type.
typedef Byte
          Represents an 8-bit unsigned integer type.
typedef Char
          Represents an 8-bit or a 16-bit character type depending on platform configuration.
typedef Double
          Represents a 64-bit floating-point type.
typedef Float
          Represents a 32-bit floating-point type.
typedef Int
          Represents a 32-bit signed integer type.
typedef LatinChar
          Represents an 8-bit character type.
typedef Long
          Represents a 64-bit signed integer type.
typedef Short
          Represents a 16-bit signed integer type.
typedef Small
          Represents an 8-bit signed integer type.
typedef UInt
          Represents a 32-bit unsigned integer type.
typedef ULong
          Represents a 64-bit unsigned integer type.
typedef UniChar
          Represents a 16-bit character type.
typedef UShort
          Represents a 16-bit unsigned integer type.
typedef USmall
          Represents an 8-bit unsigned integer type.
typedef Void
          Represents a void type.

Method Summarycollapse
template <typename Type>
Bool
operator!=(const Type& objectA, const Type& objectB)
          Generic equivalence relation on Type.
String operator+(const LatinChar* first, const String& second)
          String concatenation operator.
String operator+(const String& first, const LatinChar* second)
          String concatenation operator.
String operator+(const String& first, const String& second)
          String concatenation operator.
String operator+(const String& first, const UniChar* second)
          String concatenation operator.
String operator+(const String& first, LatinChar second)
          String concatenation operator.
String operator+(const String& first, UniChar second)
          String concatenation operator.
String operator+(const UniChar* first, const String& second)
          String concatenation operator.
String operator+(LatinChar first, const String& second)
          String concatenation operator.
String operator+(UniChar first, const String& second)
          String concatenation operator.
template <typename Type>
Bool
operator<(const Type& objectA, const Type& objectB)
          Generic total order relation on Type.
template <typename Type>
Bool
operator<=(const Type& objectA, const Type& objectB)
          Generic total order relation on Type.
template <typename Type>
Bool
operator==(const Type& objectA, const Type& objectB)
          Generic equivalence relation on Type.
template <typename Type>
Bool
operator>(const Type& objectA, const Type& objectB)
          Generic total order relation on Type.
template <typename Type>
Bool
operator>=(const Type& objectA, const Type& objectB)
          Generic total order relation on Type.

 

Method Detail

operator!=[inline]

template <typename Type>
Bool operator!=(const Type& objectA, const Type& objectB)

Generic equivalence relation on Type. Tests whether two given objects of the same type are not equal.

Parameters:
objectA - first object
objectB - second object
Returns:
True if the objects are equal, False otherwise
See Also:
Traits<Type>::equal, Lang::equal

operator+[nothrow, inline]

String operator+(const LatinChar* first, const String& second)

String concatenation operator. Appends second at the end of first and returns a new string as a result.

Parameters:
first - the first character, native C-string or a string object
second - the second character, native C-string or a string object
Returns:
a string object with contents of second at the end of first

operator+[nothrow, inline]

String operator+(const String& first, const LatinChar* second)

String concatenation operator. Appends second at the end of first and returns a new string as a result.

Parameters:
first - the first character, native C-string or a string object
second - the second character, native C-string or a string object
Returns:
a string object with contents of second at the end of first

operator+[nothrow, inline]

String operator+(const String& first, const String& second)

String concatenation operator. Appends second at the end of first and returns a new string as a result.

Parameters:
first - the first character, native C-string or a string object
second - the second character, native C-string or a string object
Returns:
a string object with contents of second at the end of first

operator+[nothrow, inline]

String operator+(const String& first, const UniChar* second)

String concatenation operator. Appends second at the end of first and returns a new string as a result.

Parameters:
first - the first character, native C-string or a string object
second - the second character, native C-string or a string object
Returns:
a string object with contents of second at the end of first

operator+[nothrow, inline]

String operator+(const String& first, LatinChar second)

String concatenation operator. Appends second at the end of first and returns a new string as a result.

Parameters:
first - the first character, native C-string or a string object
second - the second character, native C-string or a string object
Returns:
a string object with contents of second at the end of first

operator+[nothrow, inline]

String operator+(const String& first, UniChar second)

String concatenation operator. Appends second at the end of first and returns a new string as a result.

Parameters:
first - the first character, native C-string or a string object
second - the second character, native C-string or a string object
Returns:
a string object with contents of second at the end of first

operator+[nothrow, inline]

String operator+(const UniChar* first, const String& second)

String concatenation operator. Appends second at the end of first and returns a new string as a result.

Parameters:
first - the first character, native C-string or a string object
second - the second character, native C-string or a string object
Returns:
a string object with contents of second at the end of first

operator+[nothrow, inline]

String operator+(LatinChar first, const String& second)

String concatenation operator. Appends second at the end of first and returns a new string as a result.

Parameters:
first - the first character, native C-string or a string object
second - the second character, native C-string or a string object
Returns:
a string object with contents of second at the end of first

operator+[nothrow, inline]

String operator+(UniChar first, const String& second)

String concatenation operator. Appends second at the end of first and returns a new string as a result.

Parameters:
first - the first character, native C-string or a string object
second - the second character, native C-string or a string object
Returns:
a string object with contents of second at the end of first

operator<[inline]

template <typename Type>
Bool operator<(const Type& objectA, const Type& objectB)

Generic total order relation on Type. Tests whether the first object is less than the second one.

Parameters:
objectA - first object
objectB - second object
Returns:
True if the first object is less than the second, False otherwise
See Also:
Traits<Type>::compare, Lang::compare

operator<=[inline]

template <typename Type>
Bool operator<=(const Type& objectA, const Type& objectB)

Generic total order relation on Type. Tests whether the first object is less than or equal to the second one.

Parameters:
objectA - first object
objectB - second object
Returns:
True if the first object is less than or equal to the second, False otherwise
See Also:
Traits<Type>::compare, Lang::compare

operator==[inline]

template <typename Type>
Bool operator==(const Type& objectA, const Type& objectB)

Generic equivalence relation on Type. Tests whether two given objects of the same type are equal.

Parameters:
objectA - first object
objectB - second object
Returns:
True if the objects are equal, False otherwise
See Also:
Traits<Type>::equal, Lang::equal

operator>[inline]

template <typename Type>
Bool operator>(const Type& objectA, const Type& objectB)

Generic total order relation on Type. Tests whether the first object is greater than the second one.

Parameters:
objectA - first object
objectB - second object
Returns:
True if the first object is greater than the second, False otherwise
See Also:
Traits<Type>::compare, Lang::compare

operator>=[inline]

template <typename Type>
Bool operator>=(const Type& objectA, const Type& objectB)

Generic total order relation on Type. Tests whether the first object is greater than or equal to the second one.

Parameters:
objectA - first object
objectB - second object
Returns:
True if the first object is greater than or equal to the second, False otherwise
See Also:
Traits<Type>::compare, Lang::compare


SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND