3D Repo Bouncer
1.4
Main Page
Namespaces
Classes
Files
File List
bouncer
src
repo
core
model
bson
repo_node_texture.h
1
21
#pragma once
22
#include "repo_node.h"
23
24
namespace
repo
{
25
namespace
core {
26
namespace
model {
27
//------------------------------------------------------------------------------
28
//
29
// Fields specific to texture only
30
//
31
//------------------------------------------------------------------------------
32
#define REPO_NODE_TYPE_TEXTURE "texture"
33
#define REPO_NODE_LABEL_BIT_DEPTH "bit_depth"
34
#define REPO_NODE_LABEL_EXTENSION "extension"
35
#define REPO_NODE_LABEL_DATA_BYTE_COUNT "data_byte_count"
36
//------------------------------------------------------------------------------
37
38
class
REPO_API_EXPORT
TextureNode
:
public
RepoNode
39
{
40
public
:
41
45
TextureNode
();
46
51
TextureNode
(
RepoBSON
bson);
52
56
~
TextureNode
();
57
62
virtual
std::string
getType
()
const
63
{
64
return
REPO_NODE_TYPE_TEXTURE;
65
}
66
71
virtual
NodeType
getTypeAsEnum
()
const
72
{
73
return
NodeType::TEXTURE;
74
}
75
83
virtual
bool
sEqual(
const
RepoNode
&other)
const
;
84
93
std::vector<char> getRawData()
const
;
94
95
std::string getFileExtension()
const
;
96
};
97
}
//namespace model
98
}
//namespace core
99
}
//namespace repo
repo
Definition:
repo_connection_pool_mongo.h:32
repo::core::model::TextureNode::getType
virtual std::string getType() const
Definition:
repo_node_texture.h:62
repo::core::model::TextureNode::getTypeAsEnum
virtual NodeType getTypeAsEnum() const
Definition:
repo_node_texture.h:71
repo::core::model::TextureNode
Definition:
repo_node_texture.h:38
repo::core::model::RepoNode
Definition:
repo_node.h:33
repo::core::model::RepoBSON
Definition:
repo_bson.h:53
Generated on Thu Sep 15 2016 09:34:23 for 3D Repo Bouncer by
1.8.9.1