VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
mtflt
mtFltGridStack.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: mtFltGridStack.h,v $ $Revision: 1.7 $ $State: Exp $
7
*******************************************************************************/
8
9
#ifndef mtFltGridStack_H_
10
#define mtFltGridStack_H_
11
12
//
13
// \file mtFltGridStack.h
14
// \brief Represents a GridStack node inside the Metaflight file.
15
//
16
17
#include "
mtflt/mtfltDefines.h
"
18
#include "
mtflt/mtFltGridStructure.h
"
19
#include <libxml/xmlreader.h>
20
21
// \brief Represents a GridStack node inside the Metaflight file.
22
// This class represents a Grid Stack, which is a multi-level indexing scheme
23
// that spatially divides a Coverage and binds the indices to files on disk that
24
// conform to some naming convention described by a FilenamePattern. This is
25
// one of the types of information conveyed by MetaFlight.
26
class
DT_DLL_mtflt
DtMtFltGridStack
:
public
DtMtFltNode
27
{
28
public
:
29
30
// Default constructor.
31
DtMtFltGridStack
();
32
33
// Copy constructor
34
DtMtFltGridStack
(
const
DtMtFltGridStack
& node);
35
36
// Destructor
37
virtual
~
DtMtFltGridStack
();
38
39
// Assignment operator
40
DtMtFltGridStack
&
operator=
(
const
DtMtFltGridStack
& orig);
41
42
// Overrides the \p DtMtFltNode::readNode method to read the
43
// node information from a Metaflight GridStack node.
44
// \param root pointer to the root node of the document
45
// \param node pointer to the xml node that will be read
46
// \return \b true if success reading the node. \b false otherwise.
47
virtual
bool
readNode
(
const
xmlNodePtr root, xmlNodePtr node);
48
49
// Returns the file name pattern associated with the grid stack
50
virtual
DtString
fileNamePattern()
const
;
51
52
// Returns the grid structure associated with the grid stack
53
virtual
DtMtFltGridStructure
* gridStructureUsed()
const
;
54
55
protected
:
56
57
DtString
myFileNamePattern
;
58
DtMtFltGridStructure
*
myGridStructureUsed
;
59
60
};
61
62
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)