VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
informationPagePath.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrfGuiCore/vrfGuiCore.h>
12 #include <vrvCore/DtPagePath.h>
13 
14 #include <set>
15 
16 namespace makVrf
17 {
24  {
25  public:
26 
27  //Internal class which is used to ensure that it is not possible to incorrectly
28  //build a menu path.
30  {
31  public:
32  friend class DtInformationPagePath;
33 
35 
36  InformationPagePathBuilder(const std::string& name);
37 
39  DtInformationPagePath informationItem(const std::string& name) const;
40 
41  //Start main page.
42  InformationPagePathBuilder page(const std::string& name);
43 
44  //Start main section
45  InformationPagePathBuilder section(const std::string& name);
46 
47  };
48 
50  DtInformationPagePath(const std::string& path);
51 
54 
56  DtInformationPagePath(const InformationPagePathBuilder& builder);
57 
60 
62  DtInformationPagePath(const DtPagePath& copy);
63 
64  //Start main page.
65  static InformationPagePathBuilder collection(const std::string& name);
66 
67  //Start main page.
68  static InformationPagePathBuilder page(const std::string& name);
69 
70  //Start main page.
71  static InformationPagePathBuilder section(const std::string& name);
72 
73  bool isInformationItem() const;
74 
75  bool isPage() const;
76 
77  bool isSection() const;
78 
79  void variables(std::set<std::string>&) const;
80 
81  std::string name() const;
82  virtual bool isChildOf( const DtInformationPagePath& parent ) const;
83 
86  DtInformationPagePath parentPath() const;
87  DtInformationPagePath collectionPart() const;
88  };
89 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)