19 #ifndef SMBIOSINTERFACE_H
20 #define SMBIOSINTERFACE_H
53 class SmbiosTableIterator;
54 class ConstSmbiosTableIterator;
190 virtual void rawMode(
bool m =
true)
const = 0;
229 virtual std::ostream &
streamify(std::ostream & cout )
const = 0;
248 virtual std::auto_ptr<const ISmbiosItem>
clone()
const = 0;
249 virtual std::auto_ptr<ISmbiosItem>
clone() = 0;
296 virtual void getData(
unsigned int offset,
u8 *out,
size_t size )
const = 0;
323 virtual std::ostream &
streamify( std::ostream & cout )
const = 0;
336 void *
getBits_FromItem(
const ISmbiosItem &item,
unsigned int offset,
void *out,
unsigned int lsb=0,
unsigned int msb=0 );
337 bool isBitSet(
const ISmbiosItem *itemPtr,
unsigned int offset,
unsigned int bitToTest);
342 item.
getData(offset, &out,
sizeof(R));
381 public std::iterator < std::forward_iterator_tag,
ISmbiosItem >
390 reference operator * ();
391 pointer operator -> ();
397 public SmbiosTableIteratorBase,
398 public std::iterator < std::forward_iterator_tag, const ISmbiosItem >
409 reference operator * () const;
410 pointer operator -> () const;
418 std::ostream & operator << (std::ostream & cout, const
ISmbiosTable & item);
419 std::ostream & operator << (std::ostream & cout, const ISmbiosItem & item);
425 #include "smbios/config/abi_suffix.hpp"