VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
mtflt
metaFlightGridStack.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 metaFlightGridStack_H_
10
#define metaFlightGridStack_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/metaFlightGridStructure.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
DtMetaFlightGridStack
:
public
DtMetaFlightNode
27
{
28
public
:
29
30
// Default constructor.
31
DtMetaFlightGridStack
();
32
33
// Copy constructor
34
DtMetaFlightGridStack
(
const
DtMetaFlightGridStack
& node);
35
36
// Destructor
37
virtual
~
DtMetaFlightGridStack
();
38
39
// Assignment operator
40
DtMetaFlightGridStack
&
operator=
(
const
DtMetaFlightGridStack
& orig);
41
42
// Overrides the \p DtMetaFlightNode::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
DtMetaFlightGridStructure
* gridStructureUsed()
const
;
54
55
protected
:
56
57
DtString
myFileNamePattern
;
58
DtMetaFlightGridStructure
*
myGridStructureUsed
;
59
60
};
61
62
#endif
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)