Purpose:
|
Stores a list of history streams.
|
|
Derivation:
|
HISTORY_STREAM_LIST : -
|
|
Filename:
|
kern/kernel/kerndata/bulletin/bulletin.hxx
|
|
Limitations:
|
NT, UNIX platforms only.
|
|
Constructor:
|
public: HISTORY_STREAM_LIST::HISTORY_STREAM_LIST
();
|
|
|
C++ allocation constructor requests memory for this object but does not populate it.
|
|
|
|
|
Destructor:
|
public: HISTORY_STREAM_LIST::~HISTORY_STREAM_LIST
();
|
|
|
This should not be called directly. Use
remove instead. Laws may not be be deleted because other classes may point to them. To delete a copy of a law call the member function
remove which decrements the
use_count field and calls the destructor if
use_count falls to zero.
|
|
|
|
Methods:
|
public: int HISTORY_STREAM_LIST::add
(
|
|
|
HISTORY_STREAM* e
|
// history stream
|
|
|
|
|
// to add
|
|
|
);
|
|
|
Adds a
HISTORY_STREAM to the
HISTORY_STREAM_LIST.
|
|
|
|
|
|
|
public: void HISTORY_STREAM_LIST::clear
();
|
|
|
Removes all items from the
HISTORY_STREAM_LIST.
|
|
|
|
|
|
|
public: int HISTORY_STREAM_LIST::count
() const;
|
|
|
Returns the items in the
HISTORY_STREAM_LIST.
|
|
|
|
|
|
|
public: void HISTORY_STREAM_LIST::init
() const;
|
|
|
Initializes the
HISTORY_STREAM_LIST.
|
|
|
|
|
|
|
public: int
|
|
|
HISTORY_STREAM_LIST::iteration_count () const;
|
|
|
Returns the iteration count for the
HISTORY_STREAM_LIST.
|
|
|
|
|
|
|
public: HISTORY_STREAM*
|
|
|
HISTORY_STREAM_LIST::next () const;
|
|
|
Returns the next
HISTORY_STREAM in the
HISTORY_STREAM_LIST.
|
|
|
|
|
|
|
public: HISTORY_STREAM*
|
|
|
HISTORY_STREAM_LIST::operator[] (
|
|
|
int i
|
// index of desired
|
|
|
|
|
// history stream
|
|
|
) const;
|
|
|
Returns the
HISTORY_STREAM specified by the index number in the
HISTORY_STREAM_LIST.
|
|
|
|
|
|
|
public: int HISTORY_STREAM_LIST::remove
(
|
|
|
HISTORY_STREAM const* ce
|
// history stream
|
|
|
|
|
|
// to remove
|
|
|
);
|
|
|
Removes the given
HISTORY_STREAM from the
HISTORY_STREAM_LIST.
|
|
Internal Use:
|
lookup
|