The InfoList class

The InfoList class is an auxiliary class with template methods that stores information in a character list; information can be added and extracted; or written to, or read from, a buffer.

InfoList .h

namespace SmallWindows { class InfoList { public: template <class AlignType> void Align(); template <class ListType> void AddValue(const ListType value); template <class ListType> void PeekValue(ListType& value, int index); template <class ListType> void GetValue(ListType& value); template <class CharType> void AddString(basic_string<CharType> text); template <class CharType> basic_string<CharType> GetString(); void FromBuffer(const void* voidBuffer, int size); void ToBuffer(void* voidBuffer); int Size() const {return list.Size();} ...

Get C++ Windows Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.