OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Utility classes

Utility classes More...

Classes

class  owl::TBitSet< T >
 Simplifies setting and testing bits in a 32 count array of uint8 (32 bytes). More...
 
class  owl::TCharSet
 Derived from TBitSet, TCharSet sets and clears bytes for a group of characters. More...
 
class  owl::TBitFlags< T >
 For example: More...
 
class  owl::TCmdLine
 Command line argument processing class, processes in the form: More...
 
class  owl::TDate
 The TDate class represents a date. More...
 
struct  owl::TFileStatus
 
struct  owl::TBinField
 The TBinField struct describes a group of like-typed fields in a structure to be read or written using the Binary I/O Struct calls. More...
 
class  owl::TFile
 The TFile class encapsulates standard file characteristics and operations. More...
 
class  owl::TFileHandle
 
class  owl::TDiskFileHandle
 
class  owl::TBufferedFile
 The TBufferedFile class is derived from TFile encapsulates standard file characteristics and operations using buffered I/O. More...
 
class  owl::TTextFile
 The TTextFile class is derived from TBufferedFile and encapsulates standard file characteristics and operations using text based buffered I/O. More...
 
class  owl::TFileLineIterator
 The TFileLineIterator class is used to iterate through a TTextFile file. More...
 
class  owl::TXBadFormat
 The TXBadFormat class is used for throwing exceptions when a bad file format is encountered. More...
 
struct  owl::TCkInfo
 RIFF chunk information data structure. More...
 
class  owl::TRiffFile
 The TRiffFile class is used for reading and writing RIFF files. More...
 
struct  owl::TQtInfo
 QuickTime atom information data structure. More...
 
class  owl::TQtFile
 The TQtFile class is used for reading and writing QuickTime files. More...
 
class  owl::TStreamHandle
 
class  owl::TStreamFile
 
class  owl::TPointerBase< T >
 Smart pointer base class. More...
 
class  owl::TPointer< T >
 Smart pointer to a single object. Provides member access operator -> More...
 
class  owl::TAPointer< T >
 Pointer to an array of type T. More...
 
class  owl::TEnvelope< T >
 Envelope-letter type of smart pointers. More...
 
class  owl::TVoidPointer
 
class  owl::TComRefBase< T >
 Encapsulation of OLE interface pointers. More...
 
class  owl::TComRef< T >
 
class  owl::TCharIterator< T >
 
class  owl::TBidirCharIterator< T >
 
class  owl::TTmpBufferBase
 Static temporary fixed buffer, provides fast temporary buffer, for use in functions. More...
 
class  owl::TTmpBuffer< T >
 
class  owl::TProperty< T >
 simple type/pointer More...
 
class  owl::TConstProperty< T >
 
class  owl::TObjProperty< T >
 Property container for object. More...
 
class  owl::TConstObjProperty< T >
 Read only Property container for object. More...
 
class  owl::TArrayProperty< T, I >
 
class  owl::TConstArrayProperty< T, I >
 array read only array More...
 
class  owl::TConstObjArrayProperty< T, I >
 array read only array More...
 
class  owl::TFuncProperty< T >
 
class  owl::TFuncObjProperty< T >
 
class  owl::TFuncPropertyGet< T >
 
class  owl::TFuncObjPropertyGet< T >
 
class  owl::TFuncPropertyPut< T >
 
class  owl::TFuncObjPropertyPut< T >
 
class  owl::TFuncPropertyVarPut< T >
 
class  owl::TFuncObjPropertyVarPut< T >
 
class  owl::TFuncPropertyIdxGet< T, index >
 
class  owl::TFuncObjPropertyIdxGet< T, index >
 
class  owl::TFuncPropertyIdxPut< T, index >
 
class  owl::TFuncObjPropertyIdxPut< T, index >
 
class  owl::TFuncPropertyIdx< T, index >
 
class  owl::TFuncObjPropertyIdx< T, index >
 
class  owl::TStandardAllocator
 Provides class-specific operator new and operator delete that simply call the global operator new and operator delete. More...
 
class  owl::TLocalAllocator
 Provides class-specific operator new and operator delete that allocate from local memory. More...
 
class  owl::TGlobalAllocator
 Provides class-specific operator new and operator delete that allocate from global memory. More...
 
class  owl::TMBaseMemBlocks< A >
 template <class A> class TMBaseMemBlocks Used internally. More...
 
class  owl::TMBlockList< A >
 template <class Alloc> class TMBlockList Used internally. More...
 
class  owl::TBlockList
 Used internally. More...
 
class  owl::TBaseMemBlocks
 Used internally. More...
 
class  owl::TMMarker< A >
 Managed memory stack. More...
 
class  owl::TMMemStack< A >
 template <class A> class TMMemStack More...
 
class  owl::TMemStack
 Implements mark and release style memory management using the standard allocator. More...
 
class  owl::TMarker
 template <class A> class TMarker Provides the mark for TMemStack. More...
 
class  owl::TMMemBlocks< A >
 Managed single-size block allocator. More...
 
class  owl::TMemBlocks
 Single-size block allocator. More...
 
class  owl::TObjArrayIterator< T, T1 >
 class Iterator for TObjectContainer More...
 
class  owl::TPtrArrayIterator< T, T1 >
 Iterator for Pointer Container. More...
 
class  owl::TMapNode< T1, T2 >
 Usage: typedef TMapNode<string,string> TStringMapNode; typedef TSortedObjectArray< TStringMapNode > TStringMap; typedef TSortedObjectArray< TStringMapNode >::Iterator TStringMapIterator;. More...
 
class  owl::TArrayBase
 base array class -> reduce code size More...
 
class  owl::TMObjectArray< T, A >
 holded array pointers to strings More...
 
class  owl::TObjectArray< T >
 
class  owl::TMSortedObjectArray< T, A >
 
class  owl::TSortedObjectArray< T >
 
class  owl::TTypedArray< T, R, A >
 (store pointer to object) - Jogy: incorrect, stores simple types without assuming that they are pointer to objects More...
 
class  owl::TSTypedArray< T, R, A >
 
class  owl::TPtrArray< T >
 array of pointers of simple types More...
 
class  owl::TSortedPtrArray< T >
 sorted array of pointers of simple types More...
 
class  owl::TMIPtrArray< T, R, A >
 
class  owl::TIPtrArray< T >
 
class  owl::TISortedPtrArray< T >
 
class  owl::TBaseNode< T >
 
class  owl::TBaseList< T >
 
class  owl::TBaseListIterator< T >
 
class  owl::TTernaryNode< T, T1 >
 
class  owl::TTernaryTree< T, T1 >
 
class  owl::TSemaphore
 Base class for handle-based thread synchronization classes, TMutex, TCountedSemaphore and TEventSemaphore. More...
 
class  owl::TMutex
 Mutual-exclusive semaphore. More...
 
class  owl::TCountedSemaphore
 Counted semaphore. Currently Win32 only. More...
 
class  owl::TEventSemaphore
 
class  owl::TWaitableTimer
 
class  owl::TSemaphoreSet
 Semaphore object aggregator. More...
 
class  owl::TCriticalSection
 Lightweight intra-process thread synchronization. More...
 
class  owl::TMRSWSection
 Multiple Read, Single Write section. More...
 
class  owl::TSync
 TSync provides a system-independent interface to build classes that act like monitors, i.e., classes in which only one member can execute on a particular instance at any one time. More...
 
class  owl::TStaticSync< T >
 TStaticSync provides a system-independent interface to build sets of classes that act somewhat like monitors, i.e., classes in which only one member function can execute at any one time regardless of which instance it is being called on. More...
 
class  owl::TThread
 TThread provides a system-independent interface to threads. More...
 

Macros

#define BINNTYPE   (varLastMember+1)
 
#define TFILE_ERROR   uint32(-1)
 
#define FileNull   0
 Represents a NULL file handle.
 
#define TFILE64_ERROR   uint64(0xFFFFFFFF)
 
#define owlFCC(ch0, ch1, ch2, ch3)
 
#define GETFUNCTOR(T, func)    Functor((TFunctor0<T>*)0, func)
 
#define PUTFUNCTOR(T, func)    Functor((TFunctorV1<T>*)0, func)
 
#define GETPUTFUNCTOR(T, funcGet, funcPut)
 
#define GETOBJFUNCTOR(T, func)    Functor((TFunctor0<T&>*)0, func)
 
#define PUTOBJFUNCTOR(T, func)    Functor((TFunctorV1<const T&>*)0, func)
 
#define GETPUTOBJFUNCTOR(T, funcGet, funcPut)
 
#define GETMFUNCTOR(T, type, memberFunc)    Functor((TFunctor0<T>*)0, *this, &type::memberFunc)
 
#define PUTMFUNCTOR(T, type, memberFunc)    Functor((TFunctorV1<T>*)0, *this, &type::memberFunc)
 
#define GETPUTMFUNCTOR(T, type, memberGet, memberPut)
 
#define GETOBJMFUNCTOR(T, type, memberFunc)    Functor((TFunctor0<T&>*)0, *this, &type::memberFunc)
 
#define PUTOBJMFUNCTOR(T, type, memberFunc)    Functor((TFunctorV1<const T&>*)0, *this, &type::memberFunc)
 
#define GETPUTOBJMFUNCTOR(T, type, memberGet, memberPut)
 
#define IDXGETFUNCTOR(T, func)    Functor((TFunctor1<T,int>*)0, func)
 
#define IDXPUTFUNCTOR(T, func)    Functor((TFunctorV2<int,T>*)0, func)
 
#define IDXGETPUTFUNCTOR(T, funcGet, funcPut)
 
#define IDXGETPUTOBJFUNCTOR(T, funcGet, funcPut)
 
#define IDXGETMFUNCTOR(T, type, memberFunc)    Functor((TFunctor1<T,int>*)0, *this, &type::memberFunc)
 
#define IDXPUTMFUNCTOR(T, type, memberFunc)    Functor((TFunctorV2<int,T>*)0, *this, &type::memberFunc)
 
#define IDXGETPUTMFUNCTOR(T, type, memberGet, memberPut)
 
#define IDXGETPUTOBJMFUNCTOR(T, type, memberGet, memberPut)
 

Typedefs

typedef std::fstream owl::_tfstream
 
typedef TStandardAllocator owl::TSharedAllocator
 
typedef VOID(APIENTRYowl::PTIMERAPCROUTINE) (LPVOID lpArgToCompletionRoutine, DWORD dwTimerLowValue, DWORD dwTimerHighValue)
 Encapsulation of Waitable Timer over Borland Classlib TSemaphore hierarchy.
 

Enumerations

enum  owl::TByteOrderType { owl::boLittle_Endian , owl::boBig_Endian }
 The byte order type. More...
 
enum  owl::TVarType {
  owl::varEnd , owl::varPOINTER , owl::varCHAR , owl::varUCHAR , owl::varSHORT , owl::varLONG , owl::varINT8 , owl::varINT16 , owl::varINT32 , owl::varUSHORT ,
  owl::varULONG , owl::varUINT8 , owl::varUINT16 , owl::varUINT32 , owl::varFLOAT , owl::varDOUBLE , owl::varINT64 , owl::varUINT64 , owl::varLastMember
}
 These identify host program variable types and let the binary I/O package read and write routines know how to store or retrieve bytes from host buffer arrays and when to sign-extend. More...
 

Functions

template<class T >
int owl::operator== (const TBitSet< T > &bs1, const TBitSet< T > &bs2)
 
template<class T >
TBitSet< T > owl::operator& (const TBitSet< T > &bs1, const TBitSet< T > &bs2)
 
template<class T >
TBitSet< T > owl::operator| (const TBitSet< T > &bs1, const TBitSet< T > &bs2)
 
template<class T >
int owl::operator!= (const TBitSet< T > &bs1, const TBitSet< T > &bs2)
 
tostreamowl::operator<< (tostream &os, const TFileStatus &status)
 Inserts time t into persistent stream s.
 
TByteOrderType owl::EndianType ()
 

Detailed Description

Utility classes

Macro Definition Documentation

◆ BINNTYPE

#define BINNTYPE   (varLastMember+1)

Definition at line 89 of file file.h.

◆ FileNull

#define FileNull   0

Represents a NULL file handle.

Definition at line 108 of file file.h.

◆ GETFUNCTOR

#define GETFUNCTOR ( T,
func )    Functor((TFunctor0<T>*)0, func)

Definition at line 599 of file property.h.

◆ GETMFUNCTOR

#define GETMFUNCTOR ( T,
type,
memberFunc )    Functor((TFunctor0<T>*)0, *this, &type::memberFunc)

Definition at line 615 of file property.h.

◆ GETOBJFUNCTOR

#define GETOBJFUNCTOR ( T,
func )    Functor((TFunctor0<T&>*)0, func)

Definition at line 607 of file property.h.

◆ GETOBJMFUNCTOR

#define GETOBJMFUNCTOR ( T,
type,
memberFunc )    Functor((TFunctor0<T&>*)0, *this, &type::memberFunc)

Definition at line 623 of file property.h.

◆ GETPUTFUNCTOR

#define GETPUTFUNCTOR ( T,
funcGet,
funcPut )
Value:

Definition at line 603 of file property.h.

◆ GETPUTMFUNCTOR

#define GETPUTMFUNCTOR ( T,
type,
memberGet,
memberPut )
Value:
Functor((TFunctor0<T>*)0, *this, &type::memberGet),\
Functor((TFunctorV1<T>*)0, *this, &type::memberPut)

Definition at line 619 of file property.h.

◆ GETPUTOBJFUNCTOR

#define GETPUTOBJFUNCTOR ( T,
funcGet,
funcPut )
Value:

Definition at line 611 of file property.h.

◆ GETPUTOBJMFUNCTOR

#define GETPUTOBJMFUNCTOR ( T,
type,
memberGet,
memberPut )
Value:
Functor((TFunctor0<T&>*)0, *this, &type::memberGet),\
Functor((TFunctorV1<const T&>*)0, *this, &type::memberPut)

Definition at line 627 of file property.h.

◆ IDXGETFUNCTOR

#define IDXGETFUNCTOR ( T,
func )    Functor((TFunctor1<T,int>*)0, func)

Definition at line 631 of file property.h.

◆ IDXGETMFUNCTOR

#define IDXGETMFUNCTOR ( T,
type,
memberFunc )    Functor((TFunctor1<T,int>*)0, *this, &type::memberFunc)

Definition at line 642 of file property.h.

◆ IDXGETPUTFUNCTOR

#define IDXGETPUTFUNCTOR ( T,
funcGet,
funcPut )
Value:

Definition at line 635 of file property.h.

◆ IDXGETPUTMFUNCTOR

#define IDXGETPUTMFUNCTOR ( T,
type,
memberGet,
memberPut )
Value:
Functor((TFunctor1<T,int>*)0, *this, &type::memberGet),\
Functor((TFunctorV2<int,T>*)0, *this, &type::memberPut)

Definition at line 646 of file property.h.

◆ IDXGETPUTOBJFUNCTOR

#define IDXGETPUTOBJFUNCTOR ( T,
funcGet,
funcPut )
Value:

Definition at line 638 of file property.h.

◆ IDXGETPUTOBJMFUNCTOR

#define IDXGETPUTOBJMFUNCTOR ( T,
type,
memberGet,
memberPut )
Value:
Functor((TFunctor1<T,int>*)0, *this, &type::memberGet),\
Functor((TFunctorV2<int,const T&>*)0, *this, &type::memberPut)

Definition at line 649 of file property.h.

◆ IDXPUTFUNCTOR

#define IDXPUTFUNCTOR ( T,
func )    Functor((TFunctorV2<int,T>*)0, func)

Definition at line 633 of file property.h.

◆ IDXPUTMFUNCTOR

#define IDXPUTMFUNCTOR ( T,
type,
memberFunc )    Functor((TFunctorV2<int,T>*)0, *this, &type::memberFunc)

Definition at line 644 of file property.h.

◆ owlFCC

#define owlFCC ( ch0,
ch1,
ch2,
ch3 )
Value:
((uint32)(uint8)(ch0) | ((uint32)(uint8)(ch1) << 8) | \
((uint32)(uint8)(ch2) << 16) | ((uint32)(uint8)(ch3) << 24 ))

Definition at line 531 of file file.h.

◆ PUTFUNCTOR

#define PUTFUNCTOR ( T,
func )    Functor((TFunctorV1<T>*)0, func)

Definition at line 601 of file property.h.

◆ PUTMFUNCTOR

#define PUTMFUNCTOR ( T,
type,
memberFunc )    Functor((TFunctorV1<T>*)0, *this, &type::memberFunc)

Definition at line 617 of file property.h.

◆ PUTOBJFUNCTOR

#define PUTOBJFUNCTOR ( T,
func )    Functor((TFunctorV1<const T&>*)0, func)

Definition at line 609 of file property.h.

◆ PUTOBJMFUNCTOR

#define PUTOBJMFUNCTOR ( T,
type,
memberFunc )    Functor((TFunctorV1<const T&>*)0, *this, &type::memberFunc)

Definition at line 625 of file property.h.

◆ TFILE64_ERROR

#define TFILE64_ERROR   uint64(0xFFFFFFFF)

Definition at line 110 of file file.h.

◆ TFILE_ERROR

#define TFILE_ERROR   uint32(-1)

Definition at line 105 of file file.h.

Typedef Documentation

◆ _tfstream

typedef std::fstream owl::_tfstream

Definition at line 640 of file file.h.

◆ PTIMERAPCROUTINE

Encapsulation of Waitable Timer over Borland Classlib TSemaphore hierarchy.

Definition at line 205 of file thread.h.

◆ TSharedAllocator

Enumeration Type Documentation

◆ TByteOrderType

The byte order type.

Enumerator
boLittle_Endian 

LSB at lowest address: Intel //.

boBig_Endian 

MSB at lowest address: Motorola //.

Definition at line 48 of file file.h.

◆ TVarType

These identify host program variable types and let the binary I/O package read and write routines know how to store or retrieve bytes from host buffer arrays and when to sign-extend.

Enumerator
varEnd 
varPOINTER 
varCHAR 
varUCHAR 
varSHORT 
varLONG 
varINT8 
varINT16 
varINT32 
varUSHORT 
varULONG 
varUINT8 
varUINT16 
varUINT32 
varFLOAT 
varDOUBLE 
varINT64 
varUINT64 
varLastMember 

Definition at line 68 of file file.h.

Function Documentation

◆ EndianType()

TByteOrderType owl::EndianType ( )
inline

Definition at line 56 of file file.h.

References owl::boBig_Endian, and owl::boLittle_Endian.

◆ operator!=()

template<class T >
int owl::operator!= ( const TBitSet< T > & bs1,
const TBitSet< T > & bs2 )

Definition at line 111 of file bitset.h.

◆ operator&()

template<class T >
TBitSet< T > owl::operator& ( const TBitSet< T > & bs1,
const TBitSet< T > & bs2 )

Definition at line 95 of file bitset.h.

◆ operator<<()

tostream & owl::operator<< ( tostream & os,
const TFileStatus & status )

◆ operator==()

template<class T >
int owl::operator== ( const TBitSet< T > & bs1,
const TBitSet< T > & bs2 )

Definition at line 86 of file bitset.h.

◆ operator|()

template<class T >
TBitSet< T > owl::operator| ( const TBitSet< T > & bs1,
const TBitSet< T > & bs2 )

Definition at line 103 of file bitset.h.