Collage
1.0.1
Object-Oriented C++ Network Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
install
include
co
nodeType.h
1
2
/* Copyright (c) 2007-2013, Stefan Eilemann <eile@equalizergraphics.com>
3
*
4
* This file is part of Collage <https://github.com/Eyescale/Collage>
5
*
6
* This library is free software; you can redistribute it and/or modify it under
7
* the terms of the GNU Lesser General Public License version 2.1 as published
8
* by the Free Software Foundation.
9
*
10
* This library is distributed in the hope that it will be useful, but WITHOUT
11
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13
* details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with this library; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
*/
19
20
#ifndef CO_NODETYPE_H
21
#define CO_NODETYPE_H
22
23
#include <iostream>
24
25
namespace
co
26
{
28
enum
NodeType
29
{
30
NODETYPE_INVALID
,
31
NODETYPE_NODE
,
32
NODETYPE_USER
= 0x100
33
};
34
35
inline
std::ostream& operator << ( std::ostream& os,
const
NodeType
& type )
36
{
37
return
os << static_cast< unsigned >( type );
38
}
39
}
40
41
#endif // CO_NODETYPE_H
co::NODETYPE_USER
Application-specific types.
Definition:
nodeType.h:32
co::NodeType
NodeType
Node types to identify connecting nodes.
Definition:
nodeType.h:28
co::NODETYPE_INVALID
Invalid type.
Definition:
nodeType.h:30
co::NODETYPE_NODE
A plain co::Node.
Definition:
nodeType.h:31
Generated on Thu Dec 5 2013 12:02:22 for Collage by
1.8.5