VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfGuiCore
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
{
23
class
DT_DLL_VRFGUICORE
DtInformationPagePath
:
public
makVrv::DtPagePath
24
{
25
public
:
26
27
//Internal class which is used to ensure that it is not possible to incorrectly
28
//build a menu path.
29
struct
DT_DLL_VRFGUICORE
InformationPagePathBuilder
:
public
PagePathBuilder
30
{
31
public
:
32
friend
class
DtInformationPagePath
;
33
34
InformationPagePathBuilder
() :
PagePathBuilder
(
""
) {};
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
53
DtInformationPagePath
();
54
56
DtInformationPagePath
(
const
InformationPagePathBuilder& builder);
57
59
DtInformationPagePath
(
const
DtInformationPagePath
& copy);
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 Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)