OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
ocf::TOcNameList Class Reference

Clipboard format names. More...

#include <ocf/ocapp.h>

Inheritance diagram for ocf::TOcNameList:
owl::TIPtrArray< TOcFormatName * > owl::TPtrArray< T > owl::TTypedArray< T, T, TStandardAllocator > owl::TArrayBase

Public Member Functions

 TOcNameList ()
 
 ~TOcNameList ()
 
TOcFormatName *& operator[] (unsigned index)
 
TOcFormatNameoperator[] (TCHAR *)
 Find the format name with the corresponding id.
 
void Clear (int del=1)
 
int Add (TOcFormatName *name)
 
bool IsEmpty () const
 
bool Find (const TOcFormatName *name)
 
owl::uint Count () const
 
bool Detach (TOcFormatName *item, bool del=false)
 

Additional Inherited Members

- Protected Types inherited from owl::TIPtrArray< TOcFormatName * >
typedef TPtrArrayIterator< TOcFormatName *, TIPtrArray< TOcFormatName * > > Iterator
 
typedef Iterator iterator
 
- Protected Types inherited from owl::TTypedArray< T, T, TStandardAllocator >
typedef void(* IterFunc) (T, void *)
 
typedef bool(* CondFunc) (T, void *)
 
typedef TPtrArrayIterator< T, TTypedArray< T, T, TStandardAllocator > > Iterator
 
typedef Iterator iterator
 
- Protected Member Functions inherited from owl::TIPtrArray< TOcFormatName * >
 TIPtrArray (int upper, int lower=0, int delta=0)
 
 TIPtrArray ()
 
 TIPtrArray (const TIPtrArray< TOcFormatName * > &array)
 
 ~TIPtrArray ()
 
TIPtrArray< TOcFormatName * > & operator= (const TIPtrArray< TOcFormatName * > &array)
 
bool DestroyItem (TOcFormatName * t)
 
bool Destroy (int loc)
 
void Flush (bool del=true)
 
- Protected Member Functions inherited from owl::TPtrArray< T >
 TPtrArray (int upper, int lower=0, int delta=0)
 
 TPtrArray ()
 
 TPtrArray (const TPtrArray< T > &array)
 
- Protected Member Functions inherited from owl::TTypedArray< T, T, TStandardAllocator >
void Resize (int delta)
 
void Remove (int index)
 
 TTypedArray (int upper, int=0, int=0)
 
 TTypedArray ()
 
 TTypedArray (const TTypedArray< T, T, TStandardAllocator > &array)
 
 ~TTypedArray ()
 
TTypedArray< T, T, TStandardAllocator > & operator= (const TTypedArray< T, T, TStandardAllocator > &array)
 
void RemoveEntry (int loc)
 
void SqueezeEntry (unsigned loc)
 
void Grow (int index)
 
int Add (T t)
 
void AddAt (T t, uint index)
 
bool DetachItem (T t)
 
bool Detach (int loc)
 
bool DestroyItem (T t)
 
bool Destroy (int loc)
 
bool HasMember (T t) const
 
int Find (T t) const
 
T & operator[] (int loc)
 
const T & operator[] (int loc) const
 
void ForEach (IterFunc iter, void *args)
 
T * FirstThat (CondFunc cond, void *args) const
 
T * LastThat (CondFunc cond, void *args) const
 
void Flush ()
 
- Protected Member Functions inherited from owl::TArrayBase
 TArrayBase ()
 
uint GetItemsInContainer () const
 
int LowerBound () const
 
int UpperBound () const
 
uint ArraySize () const
 
bool IsFull () const
 
bool IsEmpty () const
 
uint Size () const
 
uint Count () const
 
bool Empty () const
 
uint size () const
 
bool empty () const
 
- Protected Attributes inherited from owl::TTypedArray< T, T, TStandardAllocator >
T * Data
 
- Protected Attributes inherited from owl::TArrayBase
uint ItemCnt
 
uint Reserved
 
- Static Protected Attributes inherited from owl::TArrayBase
static const auto NPOS = -1
 

Detailed Description

Clipboard format names.

Definition at line 73 of file ocapp.h.

Constructor & Destructor Documentation

◆ TOcNameList()

ocf::TOcNameList::TOcNameList ( )

Definition at line 1069 of file ocapp.cpp.

◆ ~TOcNameList()

ocf::TOcNameList::~TOcNameList ( )

Definition at line 1073 of file ocapp.cpp.

References Clear().

Member Function Documentation

◆ Add()

int ocf::TOcNameList::Add ( TOcFormatName * name)
inline

Definition at line 82 of file ocapp.h.

◆ Clear()

void ocf::TOcNameList::Clear ( int del = 1)
inline

Definition at line 81 of file ocapp.h.

◆ Count()

owl::uint ocf::TOcNameList::Count ( ) const
inline

Definition at line 85 of file ocapp.h.

◆ Detach()

bool ocf::TOcNameList::Detach ( TOcFormatName * item,
bool del = false )
inline

Definition at line 86 of file ocapp.h.

◆ Find()

bool ocf::TOcNameList::Find ( const TOcFormatName * name)
inline

Definition at line 84 of file ocapp.h.

◆ IsEmpty()

bool ocf::TOcNameList::IsEmpty ( ) const
inline

Definition at line 83 of file ocapp.h.

◆ operator[]() [1/2]

TOcFormatName * ocf::TOcNameList::operator[] ( TCHAR * id)

Find the format name with the corresponding id.

Definition at line 1082 of file ocapp.cpp.

References _tcscmp, and Count().

◆ operator[]() [2/2]

TOcFormatName *& ocf::TOcNameList::operator[] ( unsigned index)
inline

Definition at line 79 of file ocapp.h.


The documentation for this class was generated from the following files: