2011-01-02 22:26:18 -04:00
|
|
|
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-
|
|
|
|
//
|
|
|
|
// This is free software; you can redistribute it and/or modify it under
|
|
|
|
// the terms of the GNU Lesser General Public License as published by the
|
|
|
|
// Free Software Foundation; either version 2.1 of the License, or (at
|
|
|
|
// your option) any later version.
|
|
|
|
//
|
|
|
|
|
|
|
|
/// @file AP_MetaClass.cpp
|
|
|
|
/// Abstract meta-class from which other AP classes may inherit.
|
|
|
|
/// Provides type introspection and some basic protocols that can
|
|
|
|
/// be implemented by subclasses.
|
|
|
|
|
|
|
|
#include "AP_MetaClass.h"
|
|
|
|
|
2011-01-04 04:46:01 -04:00
|
|
|
// Default ctor, currently does nothing
|
|
|
|
AP_MetaClass::AP_MetaClass(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
// Default dtor, currently does nothing but must be defined in order to ensure that
|
|
|
|
// subclasses not overloading the default virtual dtor still have something in their
|
|
|
|
// vtable.
|
|
|
|
AP_MetaClass::~AP_MetaClass()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-01-02 22:26:18 -04:00
|
|
|
size_t
|
2011-01-04 04:46:01 -04:00
|
|
|
AP_MetaClass::serialize(void *buf, size_t bufSize) const
|
2011-01-02 22:26:18 -04:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
size_t
|
|
|
|
AP_MetaClass::unserialize(void *buf, size_t bufSize)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|