Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1702 - 1
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
2
//
3
// This is free software; you can redistribute it and/or modify it under
4
// the terms of the GNU Lesser General Public License as published by the
5
// Free Software Foundation; either version 2.1 of the License, or (at
6
// your option) any later version.
7
//
8
 
9
/// @file       AP_MetaClass.cpp
10
///                     Abstract meta-class from which other AP classes may inherit.
11
///                     Provides type introspection and some basic protocols that can
12
///                     be implemented by subclasses.
13
 
14
#include "AP_MetaClass.h"
15
 
16
// Default ctor, currently does nothing
17
AP_Meta_class::AP_Meta_class(void)
18
{
19
}
20
 
21
// Default dtor, currently does nothing but must be defined in order to ensure that
22
// subclasses not overloading the default virtual dtor still have something in their
23
// vtable.
24
AP_Meta_class::~AP_Meta_class()
25
{
26
}
27
 
28
size_t AP_Meta_class::serialize(void *buf, size_t bufSize) const
29
{
30
    return 0;
31
}
32
 
33
size_t AP_Meta_class::unserialize(void *buf, size_t bufSize)
34
{
35
    return 0;
36
}