SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 
12 #include <shogun/base/SGObject.h>
13 #include <shogun/io/SGIO.h>
15 
16 using namespace shogun;
17 
19 : CSGObject()
20 {
21 }
22 
24 {
25 }
26 
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 };
#define SG_ERROR(...)
Definition: SGIO.h:129
virtual EStructuredDataType get_structured_data_type() const
Class SGObject is the base class of all shogun objects.
Definition: SGObject.h:112
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18

SHOGUN Machine Learning Toolbox - Documentation