InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Field.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2013 Mark Travis <mtravis15432+src@gmail.com>
3
* All rights reserved. No warranty, explicit or implicit, provided.
4
*
5
* This file is part of InfiniSQL(tm).
6
7
* InfiniSQL is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License version 3
9
* as published by the Free Software Foundation.
10
*
11
* InfiniSQL is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with InfiniSQL. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
28
#ifndef INFINISQLFIELD_H
29
#define INFINISQLFIELD_H
30
31
#include "
gch.h
"
32
#include "
Index.h
"
33
42
class
Field
43
{
44
public
:
55
Field
(
fieldtype_e
typearg, int64_t lengtharg,
indextype_e
indextypearg,
56
std::string namearg);
57
virtual
~Field
();
58
59
friend
class
Transaction
;
60
friend
class
ApiInterface
;
61
friend
class
Table
;
62
friend
class
SubTransaction
;
63
64
//private:
65
fieldtype_e
type
;
66
size_t
length
;
67
indextype_e
indextype
;
68
class
Index
index
;
69
std::string
name
;
70
};
71
72
#endif
/* INFINISQLFIELD_H */
infinisqld
Field.h
Generated on Tue Dec 24 2013 06:05:44 for InfiniSQL by
1.8.4