VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
metaFlightGridStack.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2025 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"
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.
27 {
28 public:
29 
30  // Default constructor.
32 
33  // Copy constructor
35 
36  // Destructor
37  virtual ~DtMetaFlightGridStack() override;
38 
39  // Assignment operator
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) override;
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 
59 
60 };
61 
62 #endif
Definition: metaFlightNode.h:30
DtMetaFlightNode & operator=(const DtMetaFlightNode &orig)
virtual bool readNode(const xmlNodePtr root, xmlNodePtr node)=0
DtMetaFlightGridStructure * myGridStructureUsed
Definition: metaFlightGridStack.h:58
xmlNode * xmlNodePtr
Definition: DtLightPointTable.h:20
#define DT_DLL_mtflt
Definition: mtfltDefines.h:23
Definition: metaFlightGridStack.h:26
Definition: metaFlightGridStructure.h:28
DtString myFileNamePattern
Definition: metaFlightGridStack.h:57

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)