SHOGUN
4.2.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
shogun
lib
StructuredData.cpp
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* Written (W) 2012 Fernando José Iglesias García
8
* Copyright (C) 2012 Fernando José Iglesias García
9
*/
10
11
#include <
shogun/lib/StructuredData.h
>
12
#include <
shogun/base/SGObject.h
>
13
#include <
shogun/io/SGIO.h
>
14
#include <
shogun/lib/StructuredDataTypes.h
>
15
16
using namespace
shogun
;
17
18
CStructuredData::CStructuredData
()
19
:
CSGObject
()
20
{
21
}
22
23
CStructuredData::~CStructuredData
()
24
{
25
}
26
27
EStructuredDataType
CStructuredData::get_structured_data_type
()
const
28
{
29
SG_ERROR
(
"get_structured_data_type() not defined. \n"
30
"Make sure that STRUCTURED_DATA_TYPE(SDT) is defined "
31
"in every class that inherits from CStructuredData.\n"
);
32
33
return
SDT_UNKNOWN
;
34
};
shogun::CStructuredData::~CStructuredData
virtual ~CStructuredData()
Definition:
StructuredData.cpp:23
SGObject.h
StructuredDataTypes.h
SGIO.h
SG_ERROR
#define SG_ERROR(...)
Definition:
SGIO.h:129
StructuredData.h
shogun::CStructuredData::get_structured_data_type
virtual EStructuredDataType get_structured_data_type() const
Definition:
StructuredData.cpp:27
shogun::CSGObject
Class SGObject is the base class of all shogun objects.
Definition:
SGObject.h:115
shogun::EStructuredDataType
EStructuredDataType
Definition:
StructuredDataTypes.h:20
shogun
all of classes and functions are contained in the shogun namespace
Definition:
class_list.h:18
shogun::SDT_UNKNOWN
Definition:
StructuredDataTypes.h:22
shogun::CStructuredData::CStructuredData
CStructuredData()
Definition:
StructuredData.cpp:18
SHOGUN
Machine Learning Toolbox - Documentation