Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

lrt Namespace Reference

All classes in libRT are defined inside the namespace lrt. More...


Compounds

class  lrt::DelphiDataInputStream
 Supports reading binary files in the Delphi format. More...

class  lrt::DelphiDataOutputStream
 Supports writing binary files in the Delphi format. More...

class  lrt::File
 The class File defines a file descriptor in a system-independent manner. More...

class  lrt::File::FileAttributes
 A file's attributes. More...

class  lrt::FileInputStream
 FileInputStream implements a input stream which receives data from a file. More...

class  lrt::FileOutputStream
 Class FileOutputStreams implements an output stream which writes data to a file. More...

class  lrt::FilterInputStream
 A FilterInputStream is a stream which just performs any operations on another stream. More...

class  lrt::FilterOutputStream
 A FilterOutputStream is a stream which just performs any operations on another stream. More...

class  lrt::IFilenameFilter
 The interface IFilenameFilter can be implemented by applications which wish to filter folder listings. More...

class  lrt::IIteratorImpl
 An iterator implementation. More...

class  lrt::IniFile
 IniFile implements an interface to a configuration file in INI format. More...

class  lrt::IniSection
 An IniSection is a subsection of an INI file. More...

class  lrt::InputStream
 InputStream is the base class of all input streams (such as files opened for reading) in libRT. More...

class  lrt::Iterator
 A bi-directional iterator for collections in libRT. More...

class  lrt::List::IteratorImpl
 Concrete implementation of an iterator on lists. More...

class  lrt::List
 A double-linked list collection. More...

class  lrt::List::Node
class  lrt::Map
 A map collection type (a.k.a. associative array). More...

class  lrt::Math
 Class Math provides some static helper functions to compute often-used mathematical functions in a system-independent manner. More...

class  lrt::Network
 The network manager for libRT. More...

struct  lrt::Network::Page
 HTTP transmission page structure. More...

class  lrt::NetworkInputStream
 Stream which reads data through a network from a remote computer. More...

class  lrt::NetworkOutputStream
 Stream which sends data to a remote computer through a network. More...

class  lrt::OutputStream
 OutputStream is the base class for all output streams (such as files opened for writing) in libRT. More...

class  lrt::Pair
 A key-value pair. More...

class  lrt::ParseInputStream
 A ParseInputStream can parse any input stream for tokens ("words") and read whole lines from them. More...

class  lrt::Resource
 The resource manager for libRT. More...

class  lrt::ResourceInputStream
 An input stream which receives data from a resource (a file compiled into the application executable). More...

class  lrt::ServerSocket
 A ServerSocket is a Socket which advises a service to the network. As soon as it has been created and the accept() method has been called, a remote computer can connect to the specified port on this computer. The resulting Socket is returned. More...

class  lrt::Socket
 A network socket which can be used to transmit data over a TCP/IP based network. If one of the streams still exist when the Socket is being deleted, it will be deleted as well. So you must keep the Socket object alive as long as you use the stream.
See also:
Network::create() for a factory method.
More...


class  lrt::Sound
 Implements a simple sound playing mechanism. More...

class  lrt::StarFilenameFilter
 A filename filter which can create folder listings for queries using star patterns. More...

class  lrt::String
 A sequence of characters. More...

class  lrt::StringMap
 A map using Strings as keys. More...

class  lrt::System
 Class System provides methods to access the system console and exit the application. More...

class  lrt::Time
 A time value. More...

class  lrt::Array
 The class template Array<T> implements a bounds-checked, constant-length array of values of type T. More...

class  lrt::Char
 Defines static helper functions to determine and convert the type of a character. More...

class  lrt::Variant
 This data type can hold either a String, an integer or a floating-point (double) value. More...

class  lrt::Vector
 The class template Vector<T> implements a growable array of components of type T. More...


Functions

template<class LRT_NPTR(T) > void deleteAt (Vector< LRT_PTR(T)> &vect, int index)
 Removes the element at given position from the vector, and deletes it. More...

template<class LRT_NPTR(T) > void deleteAll (Vector< LRT_PTR(T)> &vect)
 Removes all elements from the vector and deletes them. More...

const TTime TIMEepoch (TDateTime(1970, EJanuary, 0, 0, 0, 0, 0))
bool driveExists (const String &fname, RFs &session)
template<class LRT_NPTR(T) > void deleteCurrent (Iterator< LRT_PTR(T)> &pos)
 Removes the element at the current position from the collection, deletes it and advances the iterator to the next position. More...

template<class LRT_NPTR(T) > void deleteAll (Iterator< LRT_PTR(T)> begin)
 Removes all elements from the collection and deletes them. More...

template<class T> void deleteNode (List< T > &list, typename List< T >::Node *&n)
 Removes the given node from the list, deletes it and advances the pointer to the next node. More...

String operator+ (const String &s1, const String &s2)
 Returns a new String, which is the concatenation of the two given Strings.

int stdCompare (char elem1, char elem2)
template<class T> int stdCompare (const T &elem1, const T &elem2)
 A standard comparison function for default usage with Array::sort() and Map. More...

void mySignalHandler (int sig)
BOOL WINAPI MyCtrlHandlerFunction (DWORD type)

Variables

TInt64 MATHseed
char * methodTable [] = { "GET", "POST", "HEAD" }
HANDLE SYSstdin
HANDLE SYSstdout
int startY = 0


Detailed Description

All classes in libRT are defined inside the namespace lrt.

However, there are (almost) no global members in the namespace: they are all implemented as static constants or functions of wrapper classes (e.g. System, Char and Math).


Function Documentation

template<class LRT_NPTR(T) >
void lrt::deleteAll (  Iterator< LRT_PTR(T)>    begin ) 
 

Removes all elements from the collection and deletes them.

Parameters:
begin  An Iterator to the begin of a collection. The iterator must be modifyable. It should no longer be used after the function returns.
See also:
Iterator<T>::canModify()

template<class LRT_NPTR(T) >
void lrt::deleteAll (  Vector< LRT_PTR(T)> &    vect ) 
 

Removes all elements from the vector and deletes them.

Parameters:
vect  A vector.

template<class LRT_NPTR(T) >
void lrt::deleteAt (  Vector< LRT_PTR(T)> &    vect,
int    index
) 
 

Removes the element at given position from the vector, and deletes it.

Parameters:
vect  A vector.
index  The element's position.

template<class LRT_NPTR(T) >
void lrt::deleteCurrent (  Iterator< LRT_PTR(T)> &    pos ) 
 

Removes the element at the current position from the collection, deletes it and advances the iterator to the next position.

Parameters:
pos  Iterator to a collection. The iterator must be modifyable.
See also:
Iterator<T>::canModify()

template<class T>
void lrt::deleteNode (  List< T > &    list,
typename List< T >::Node *&    n
) 
 

Removes the given node from the list, deletes it and advances the pointer to the next node.

Parameters:
list  The list to remove the node from.
n  A list node.

template<class T>
int lrt::stdCompare (  const T &    elem1,
const T &    elem2
) 
 

A standard comparison function for default usage with Array::sort() and Map.

It uses the operators < and == to compare any objects.


This is the RoboTour API documentation version 0.1 • Copyright (C) by Florian Fischer