Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F73306726
_book_8cpp_source.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jul 20, 11:32
Size
20 KB
Mime Type
text/html
Expires
Mon, Jul 22, 11:32 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19180881
Attached To
R7040 TinyXML2 application examples
_book_8cpp_source.html
View Options
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/xhtml;charset=UTF-8"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=9"
/>
<meta
name=
"generator"
content=
"Doxygen 1.8.13"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
/>
<title>
TXML2Bookstore(class): Src/Book.cpp Source File
</title>
<link
href=
"tabs.css"
rel=
"stylesheet"
type=
"text/css"
/>
<script
type=
"text/javascript"
src=
"jquery.js"
></script>
<script
type=
"text/javascript"
src=
"dynsections.js"
></script>
<link
href=
"search/search.css"
rel=
"stylesheet"
type=
"text/css"
/>
<script
type=
"text/javascript"
src=
"search/searchdata.js"
></script>
<script
type=
"text/javascript"
src=
"search/search.js"
></script>
<link
href=
"doxygen.css"
rel=
"stylesheet"
type=
"text/css"
/>
</head>
<body>
<div
id=
"top"
>
<!-- do not remove this div, it is closed by doxygen! -->
<div
id=
"titlearea"
>
<table
cellspacing=
"0"
cellpadding=
"0"
>
<tbody>
<tr
style=
"height: 56px;"
>
<td
id=
"projectalign"
style=
"padding-left: 0.5em;"
>
<div
id=
"projectname"
>
TXML2Bookstore(class)
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script
type=
"text/javascript"
>
var
searchBox
=
new
SearchBox
(
"searchBox"
,
"search"
,
false
,
'Search'
);
</script>
<script
type=
"text/javascript"
src=
"menudata.js"
></script>
<script
type=
"text/javascript"
src=
"menu.js"
></script>
<script
type=
"text/javascript"
>
$
(
function
()
{
initMenu
(
''
,
true
,
false
,
'search.php'
,
'Search'
);
$
(
document
).
ready
(
function
()
{
init_search
();
});
});
</script>
<div
id=
"main-nav"
></div>
<!-- window showing the filter options -->
<div
id=
"MSearchSelectWindow"
onmouseover=
"return searchBox.OnSearchSelectShow()"
onmouseout=
"return searchBox.OnSearchSelectHide()"
onkeydown=
"return searchBox.OnSearchSelectKey(event)"
>
</div>
<!-- iframe showing the search results (closed by default) -->
<div
id=
"MSearchResultsWindow"
>
<iframe
src=
"javascript:void(0)"
frameborder=
"0"
name=
"MSearchResults"
id=
"MSearchResults"
>
</iframe>
</div>
<div
id=
"nav-path"
class=
"navpath"
>
<ul>
<li
class=
"navelem"
><a
class=
"el"
href=
"dir_413f4e031a85da0d68269c6fd2f76e1c.html"
>
Src
</a></li>
</ul>
</div>
</div>
<!-- top -->
<div
class=
"header"
>
<div
class=
"headertitle"
>
<div
class=
"title"
>
Book.cpp
</div>
</div>
</div>
<!--header-->
<div
class=
"contents"
>
<a
href=
"_book_8cpp.html"
>
Go to the documentation of this file.
</a><div
class=
"fragment"
><div
class=
"line"
><a
name=
"l00001"
></a><span
class=
"lineno"
>
1
</span>
 
<span
class=
"comment"
>
/*
</span></div><div
class=
"line"
><a
name=
"l00002"
></a><span
class=
"lineno"
>
2
</span>
 
<span
class=
"comment"
>
* Book.cpp
</span></div><div
class=
"line"
><a
name=
"l00003"
></a><span
class=
"lineno"
>
3
</span>
 
<span
class=
"comment"
>
*
</span></div><div
class=
"line"
><a
name=
"l00004"
></a><span
class=
"lineno"
>
4
</span>
 
<span
class=
"comment"
>
* Created on: Jun 26, 2018
</span></div><div
class=
"line"
><a
name=
"l00005"
></a><span
class=
"lineno"
>
5
</span>
 
<span
class=
"comment"
>
* Author: vachoux
</span></div><div
class=
"line"
><a
name=
"l00006"
></a><span
class=
"lineno"
>
6
</span>
 
<span
class=
"comment"
>
*/
</span></div><div
class=
"line"
><a
name=
"l00007"
></a><span
class=
"lineno"
>
7
</span>
 
</div><div
class=
"line"
><a
name=
"l00008"
></a><span
class=
"lineno"
>
8
</span>
 
<span
class=
"preprocessor"
>
#include
"
<a
class=
"code"
href=
"_book_8h.html"
>
Book.h
</a>
"
</span></div><div
class=
"line"
><a
name=
"l00009"
></a><span
class=
"lineno"
>
9
</span>
 
<span
class=
"preprocessor"
>
#include
"
<a
class=
"code"
href=
"xml__utils_8h.html"
>
xml_utils.h
</a>
"
</span></div><div
class=
"line"
><a
name=
"l00010"
></a><span
class=
"lineno"
>
10
</span>
 
</div><div
class=
"line"
><a
name=
"l00011"
></a><span
class=
"lineno"
>
11
</span>
 
<span
class=
"preprocessor"
>
#include
<
iostream
>
</span></div><div
class=
"line"
><a
name=
"l00012"
></a><span
class=
"lineno"
>
12
</span>
 
</div><div
class=
"line"
><a
name=
"l00013"
></a><span
class=
"lineno"
><a
class=
"line"
href=
"class_book.html#a98ea7b3ed8fe0bd4cb90767e845b052d"
>
13
</a></span>
 
<a
class=
"code"
href=
"class_book.html#a98ea7b3ed8fe0bd4cb90767e845b052d"
>
Book::Book
</a>
(tinyxml2::XMLElement* p_book)
</div><div
class=
"line"
><a
name=
"l00014"
></a><span
class=
"lineno"
>
14
</span>
 
: id_(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a20d88a02adadd291685377e894e70731"
>
get_attr_val
</a>
(p_book,
<span
class=
"stringliteral"
>
"
id
"
</span>
)),
</div><div
class=
"line"
><a
name=
"l00015"
></a><span
class=
"lineno"
>
15
</span>
 
category_(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a20d88a02adadd291685377e894e70731"
>
get_attr_val
</a>
(p_book,
<span
class=
"stringliteral"
>
"
category
"
</span>
)),
</div><div
class=
"line"
><a
name=
"l00016"
></a><span
class=
"lineno"
>
16
</span>
 
author_(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a2ada42e02c3461d03e16143247b943f0"
>
get_elem_val
</a>
(p_book,
<span
class=
"stringliteral"
>
"
author
"
</span>
)),
</div><div
class=
"line"
><a
name=
"l00017"
></a><span
class=
"lineno"
>
17
</span>
 
title_(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a2ada42e02c3461d03e16143247b943f0"
>
get_elem_val
</a>
(p_book,
<span
class=
"stringliteral"
>
"
title
"
</span>
)),
</div><div
class=
"line"
><a
name=
"l00018"
></a><span
class=
"lineno"
>
18
</span>
 
lang_(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a20d88a02adadd291685377e894e70731"
>
get_attr_val
</a>
(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a99aedcc5eff96fd8ece918d6214e3342"
>
get_elem
</a>
(p_book,
<span
class=
"stringliteral"
>
"
title
"
</span>
),
<span
class=
"stringliteral"
>
"
lang
"
</span>
)),
</div><div
class=
"line"
><a
name=
"l00019"
></a><span
class=
"lineno"
>
19
</span>
 
year_(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a171b8bbbce87774c99ae15687c510bdc"
>
get_elem_int
</a>
(p_book,
<span
class=
"stringliteral"
>
"
year
"
</span>
)),
</div><div
class=
"line"
><a
name=
"l00020"
></a><span
class=
"lineno"
>
20
</span>
 
stock_(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a1e7a4ecbc0462094101059619d96769c"
>
get_attr_int
</a>
(p_book,
<span
class=
"stringliteral"
>
"
stock
"
</span>
)),
</div><div
class=
"line"
><a
name=
"l00021"
></a><span
class=
"lineno"
>
21
</span>
 
price_(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a15540749ba23ca3121f005b070747ef0"
>
get_elem_dbl
</a>
(p_book,
<span
class=
"stringliteral"
>
"
price
"
</span>
)),
</div><div
class=
"line"
><a
name=
"l00022"
></a><span
class=
"lineno"
>
22
</span>
 
currency_(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a20d88a02adadd291685377e894e70731"
>
get_attr_val
</a>
(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a99aedcc5eff96fd8ece918d6214e3342"
>
get_elem
</a>
(p_book,
<span
class=
"stringliteral"
>
"
price
"
</span>
),
<span
class=
"stringliteral"
>
"
currency
"
</span>
, false,
<span
class=
"stringliteral"
>
"
chf
"
</span>
)),
</div><div
class=
"line"
><a
name=
"l00023"
></a><span
class=
"lineno"
>
23
</span>
 
discount_(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a9d0763456829f42a904aba1cc1f09a45"
>
get_attr_yesno
</a>
(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a99aedcc5eff96fd8ece918d6214e3342"
>
get_elem
</a>
(p_book,
<span
class=
"stringliteral"
>
"
price
"
</span>
),
<span
class=
"stringliteral"
>
"
discount
"
</span>
, false,
<span
class=
"stringliteral"
>
"
no
"
</span>
)),
</div><div
class=
"line"
><a
name=
"l00024"
></a><span
class=
"lineno"
>
24
</span>
 
margin_(
<a
class=
"code"
href=
"xml__utils_8cpp.html#a15540749ba23ca3121f005b070747ef0"
>
get_elem_dbl
</a>
(p_book,
<span
class=
"stringliteral"
>
"
margin
"
</span>
, false, 25.0))
</div><div
class=
"line"
><a
name=
"l00025"
></a><span
class=
"lineno"
>
25
</span>
 
{
</div><div
class=
"line"
><a
name=
"l00026"
></a><span
class=
"lineno"
>
26
</span>
 
<span
class=
"keyword"
>
using namespace
</span><a
class=
"code"
href=
"namespacestd.html"
>
std
</a>
;
</div><div
class=
"line"
><a
name=
"l00027"
></a><span
class=
"lineno"
>
27
</span>
 
<span
class=
"keywordtype"
>
string
</span>
str =
<a
class=
"code"
href=
"xml__utils_8cpp.html#a2ada42e02c3461d03e16143247b943f0"
>
get_elem_val
</a>
(p_book,
<span
class=
"stringliteral"
>
"
bestseller
"
</span>
,
<span
class=
"keyword"
>
false
</span>
,
<span
class=
"stringliteral"
>
"
no
"
</span>
);
</div><div
class=
"line"
><a
name=
"l00028"
></a><span
class=
"lineno"
>
28
</span>
 
<a
class=
"code"
href=
"class_book.html#a33a5ec0180ad763c6fa740fa0349655b"
>
bestseller_
</a>
= (str ==
<span
class=
"stringliteral"
>
"
yes
"
</span>
)?
<span
class=
"keyword"
>
true
</span>
:
<span
class=
"keyword"
>
false
</span>
;
</div><div
class=
"line"
><a
name=
"l00029"
></a><span
class=
"lineno"
>
29
</span>
 
}
</div><div
class=
"line"
><a
name=
"l00030"
></a><span
class=
"lineno"
>
30
</span>
 
</div><div
class=
"line"
><a
name=
"l00031"
></a><span
class=
"lineno"
><a
class=
"line"
href=
"class_book.html#a89f98454c422082fca2ae4497058116f"
>
31
</a></span>
 
<span
class=
"keywordtype"
>
void
</span>
<a
class=
"code"
href=
"class_book.html#a89f98454c422082fca2ae4497058116f"
>
Book::print
</a>
() {
</div><div
class=
"line"
><a
name=
"l00032"
></a><span
class=
"lineno"
>
32
</span>
 
<span
class=
"keyword"
>
using namespace
</span><a
class=
"code"
href=
"namespacestd.html"
>
std
</a>
;
</div><div
class=
"line"
><a
name=
"l00033"
></a><span
class=
"lineno"
>
33
</span>
 
</div><div
class=
"line"
><a
name=
"l00034"
></a><span
class=
"lineno"
>
34
</span>
 
cout
<<
<span
class=
"stringliteral"
>
"
### Book
"
</span>
<<
endl
</div><div
class=
"line"
><a
name=
"l00035"
></a><span
class=
"lineno"
>
35
</span>
 
<<
<span
class=
"stringliteral"
>
"
ID :
"
</span>
<<
<a
class=
"code"
href=
"class_book.html#ae2b48a54aa15d6ed2115870af955862b"
>
id_
</a>
<<
endl
</div><div
class=
"line"
><a
name=
"l00036"
></a><span
class=
"lineno"
>
36
</span>
 
<<
<span
class=
"stringliteral"
>
"
Category :
"
</span>
<<
<a
class=
"code"
href=
"class_book.html#a60c40a7fd48ac31aa8e8fc32ec68b3a6"
>
category_
</a>
<<
endl
</div><div
class=
"line"
><a
name=
"l00037"
></a><span
class=
"lineno"
>
37
</span>
 
<<
<span
class=
"stringliteral"
>
"
Author :
"
</span>
<<
<a
class=
"code"
href=
"class_book.html#a7803e501902c21be36d95b6f36db0507"
>
author_
</a>
<<
endl
</div><div
class=
"line"
><a
name=
"l00038"
></a><span
class=
"lineno"
>
38
</span>
 
<<
<span
class=
"stringliteral"
>
"
Title :
"
</span>
<<
<a
class=
"code"
href=
"class_book.html#afa5345a4da7065886206f85fec000882"
>
title_
</a>
<<
endl
</div><div
class=
"line"
><a
name=
"l00039"
></a><span
class=
"lineno"
>
39
</span>
 
<<
<span
class=
"stringliteral"
>
"
Language :
"
</span>
<<
<a
class=
"code"
href=
"class_book.html#a4f5c03cf11a473866f4786b8ebbd04c4"
>
lang_
</a>
<<
endl
</div><div
class=
"line"
><a
name=
"l00040"
></a><span
class=
"lineno"
>
40
</span>
 
<<
<span
class=
"stringliteral"
>
"
Year :
"
</span>
<<
<a
class=
"code"
href=
"class_book.html#ac330678a1df10971297ae85e80404e1a"
>
year_
</a>
<<
endl
</div><div
class=
"line"
><a
name=
"l00041"
></a><span
class=
"lineno"
>
41
</span>
 
<<
<span
class=
"stringliteral"
>
"
Stock :
"
</span>
<<
<a
class=
"code"
href=
"class_book.html#a74cd6d69c4e6fa77944767bf2e4735b3"
>
stock_
</a>
<<
endl
</div><div
class=
"line"
><a
name=
"l00042"
></a><span
class=
"lineno"
>
42
</span>
 
<<
<span
class=
"stringliteral"
>
"
Price :
"
</span>
<<
<a
class=
"code"
href=
"class_book.html#aaf3233fc3845d9a7be282e3389c7ae38"
>
price_
</a>
<<
<span
class=
"stringliteral"
>
"
"
</span>
<<
<a
class=
"code"
href=
"class_book.html#ad0e420abc157fcb7ceb42fa125d25b87"
>
currency_
</a>
<<
endl
</div><div
class=
"line"
><a
name=
"l00043"
></a><span
class=
"lineno"
>
43
</span>
 
<<
<span
class=
"stringliteral"
>
"
Discount :
"
</span>
<<
(
<a
class=
"code"
href=
"class_book.html#a418a3ce6a589c5c6de2558a896d3286e"
>
discount_
</a>
?
<span
class=
"stringliteral"
>
"
yes
"
</span>
:
<span
class=
"stringliteral"
>
"
no
"
</span>
)
<<
endl
</div><div
class=
"line"
><a
name=
"l00044"
></a><span
class=
"lineno"
>
44
</span>
 
<<
<span
class=
"stringliteral"
>
"
Margin :
"
</span>
<<
<a
class=
"code"
href=
"class_book.html#aff45ce27f7073e592c0fadf59f7a0b64"
>
margin_
</a>
<<
endl
</div><div
class=
"line"
><a
name=
"l00045"
></a><span
class=
"lineno"
>
45
</span>
 
<<
<span
class=
"stringliteral"
>
"
Bestseller :
"
</span>
<<
(
<a
class=
"code"
href=
"class_book.html#a33a5ec0180ad763c6fa740fa0349655b"
>
bestseller_
</a>
?
<span
class=
"stringliteral"
>
"
yes
"
</span>
:
<span
class=
"stringliteral"
>
"
no
"
</span>
)
<<
endl;
</div><div
class=
"line"
><a
name=
"l00046"
></a><span
class=
"lineno"
>
46
</span>
 
}
</div><div
class=
"ttc"
id=
"class_book_html_a33a5ec0180ad763c6fa740fa0349655b"
><div
class=
"ttname"
><a
href=
"class_book.html#a33a5ec0180ad763c6fa740fa0349655b"
>
Book::bestseller_
</a></div><div
class=
"ttdeci"
>
bool bestseller_
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8h_source.html#l00034"
>
Book.h:34
</a></div></div>
<div
class=
"ttc"
id=
"class_book_html_ae2b48a54aa15d6ed2115870af955862b"
><div
class=
"ttname"
><a
href=
"class_book.html#ae2b48a54aa15d6ed2115870af955862b"
>
Book::id_
</a></div><div
class=
"ttdeci"
>
std::string id_
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8h_source.html#l00023"
>
Book.h:23
</a></div></div>
<div
class=
"ttc"
id=
"class_book_html_a74cd6d69c4e6fa77944767bf2e4735b3"
><div
class=
"ttname"
><a
href=
"class_book.html#a74cd6d69c4e6fa77944767bf2e4735b3"
>
Book::stock_
</a></div><div
class=
"ttdeci"
>
int stock_
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8h_source.html#l00029"
>
Book.h:29
</a></div></div>
<div
class=
"ttc"
id=
"class_book_html_a89f98454c422082fca2ae4497058116f"
><div
class=
"ttname"
><a
href=
"class_book.html#a89f98454c422082fca2ae4497058116f"
>
Book::print
</a></div><div
class=
"ttdeci"
>
void print()
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8cpp_source.html#l00031"
>
Book.cpp:31
</a></div></div>
<div
class=
"ttc"
id=
"class_book_html_ac330678a1df10971297ae85e80404e1a"
><div
class=
"ttname"
><a
href=
"class_book.html#ac330678a1df10971297ae85e80404e1a"
>
Book::year_
</a></div><div
class=
"ttdeci"
>
int year_
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8h_source.html#l00028"
>
Book.h:28
</a></div></div>
<div
class=
"ttc"
id=
"namespacestd_html"
><div
class=
"ttname"
><a
href=
"namespacestd.html"
>
std
</a></div></div>
<div
class=
"ttc"
id=
"xml__utils_8cpp_html_a2ada42e02c3461d03e16143247b943f0"
><div
class=
"ttname"
><a
href=
"xml__utils_8cpp.html#a2ada42e02c3461d03e16143247b943f0"
>
get_elem_val
</a></div><div
class=
"ttdeci"
>
std::string get_elem_val(tinyxml2::XMLElement *p_parent, xml_string name, bool mandatory, std::string default_val)
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"xml__utils_8cpp_source.html#l00060"
>
xml_utils.cpp:60
</a></div></div>
<div
class=
"ttc"
id=
"xml__utils_8cpp_html_a171b8bbbce87774c99ae15687c510bdc"
><div
class=
"ttname"
><a
href=
"xml__utils_8cpp.html#a171b8bbbce87774c99ae15687c510bdc"
>
get_elem_int
</a></div><div
class=
"ttdeci"
>
int get_elem_int(tinyxml2::XMLElement *p_parent, xml_string name, bool mandatory, int default_val)
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"xml__utils_8cpp_source.html#l00088"
>
xml_utils.cpp:88
</a></div></div>
<div
class=
"ttc"
id=
"class_book_html_aaf3233fc3845d9a7be282e3389c7ae38"
><div
class=
"ttname"
><a
href=
"class_book.html#aaf3233fc3845d9a7be282e3389c7ae38"
>
Book::price_
</a></div><div
class=
"ttdeci"
>
float price_
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8h_source.html#l00030"
>
Book.h:30
</a></div></div>
<div
class=
"ttc"
id=
"class_book_html_aff45ce27f7073e592c0fadf59f7a0b64"
><div
class=
"ttname"
><a
href=
"class_book.html#aff45ce27f7073e592c0fadf59f7a0b64"
>
Book::margin_
</a></div><div
class=
"ttdeci"
>
double margin_
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8h_source.html#l00033"
>
Book.h:33
</a></div></div>
<div
class=
"ttc"
id=
"class_book_html_a60c40a7fd48ac31aa8e8fc32ec68b3a6"
><div
class=
"ttname"
><a
href=
"class_book.html#a60c40a7fd48ac31aa8e8fc32ec68b3a6"
>
Book::category_
</a></div><div
class=
"ttdeci"
>
std::string category_
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8h_source.html#l00024"
>
Book.h:24
</a></div></div>
<div
class=
"ttc"
id=
"xml__utils_8cpp_html_a99aedcc5eff96fd8ece918d6214e3342"
><div
class=
"ttname"
><a
href=
"xml__utils_8cpp.html#a99aedcc5eff96fd8ece918d6214e3342"
>
get_elem
</a></div><div
class=
"ttdeci"
>
tinyxml2::XMLElement * get_elem(tinyxml2::XMLElement *p_parent, xml_string name, bool mandatory, bool do_throw)
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"xml__utils_8cpp_source.html#l00039"
>
xml_utils.cpp:39
</a></div></div>
<div
class=
"ttc"
id=
"class_book_html_a418a3ce6a589c5c6de2558a896d3286e"
><div
class=
"ttname"
><a
href=
"class_book.html#a418a3ce6a589c5c6de2558a896d3286e"
>
Book::discount_
</a></div><div
class=
"ttdeci"
>
bool discount_
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8h_source.html#l00032"
>
Book.h:32
</a></div></div>
<div
class=
"ttc"
id=
"_book_8h_html"
><div
class=
"ttname"
><a
href=
"_book_8h.html"
>
Book.h
</a></div></div>
<div
class=
"ttc"
id=
"xml__utils_8h_html"
><div
class=
"ttname"
><a
href=
"xml__utils_8h.html"
>
xml_utils.h
</a></div></div>
<div
class=
"ttc"
id=
"xml__utils_8cpp_html_a1e7a4ecbc0462094101059619d96769c"
><div
class=
"ttname"
><a
href=
"xml__utils_8cpp.html#a1e7a4ecbc0462094101059619d96769c"
>
get_attr_int
</a></div><div
class=
"ttdeci"
>
int get_attr_int(tinyxml2::XMLElement *p_elem, xml_string name, bool mandatory, int default_val)
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"xml__utils_8cpp_source.html#l00166"
>
xml_utils.cpp:166
</a></div></div>
<div
class=
"ttc"
id=
"class_book_html_afa5345a4da7065886206f85fec000882"
><div
class=
"ttname"
><a
href=
"class_book.html#afa5345a4da7065886206f85fec000882"
>
Book::title_
</a></div><div
class=
"ttdeci"
>
std::string title_
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8h_source.html#l00026"
>
Book.h:26
</a></div></div>
<div
class=
"ttc"
id=
"class_book_html_a4f5c03cf11a473866f4786b8ebbd04c4"
><div
class=
"ttname"
><a
href=
"class_book.html#a4f5c03cf11a473866f4786b8ebbd04c4"
>
Book::lang_
</a></div><div
class=
"ttdeci"
>
std::string lang_
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8h_source.html#l00027"
>
Book.h:27
</a></div></div>
<div
class=
"ttc"
id=
"class_book_html_ad0e420abc157fcb7ceb42fa125d25b87"
><div
class=
"ttname"
><a
href=
"class_book.html#ad0e420abc157fcb7ceb42fa125d25b87"
>
Book::currency_
</a></div><div
class=
"ttdeci"
>
std::string currency_
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8h_source.html#l00031"
>
Book.h:31
</a></div></div>
<div
class=
"ttc"
id=
"xml__utils_8cpp_html_a9d0763456829f42a904aba1cc1f09a45"
><div
class=
"ttname"
><a
href=
"xml__utils_8cpp.html#a9d0763456829f42a904aba1cc1f09a45"
>
get_attr_yesno
</a></div><div
class=
"ttdeci"
>
bool get_attr_yesno(tinyxml2::XMLElement *p_elem, xml_string name, bool mandatory, std::string default_val)
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"xml__utils_8cpp_source.html#l00218"
>
xml_utils.cpp:218
</a></div></div>
<div
class=
"ttc"
id=
"xml__utils_8cpp_html_a15540749ba23ca3121f005b070747ef0"
><div
class=
"ttname"
><a
href=
"xml__utils_8cpp.html#a15540749ba23ca3121f005b070747ef0"
>
get_elem_dbl
</a></div><div
class=
"ttdeci"
>
double get_elem_dbl(tinyxml2::XMLElement *p_parent, xml_string name, bool mandatory, double default_val)
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"xml__utils_8cpp_source.html#l00115"
>
xml_utils.cpp:115
</a></div></div>
<div
class=
"ttc"
id=
"xml__utils_8cpp_html_a20d88a02adadd291685377e894e70731"
><div
class=
"ttname"
><a
href=
"xml__utils_8cpp.html#a20d88a02adadd291685377e894e70731"
>
get_attr_val
</a></div><div
class=
"ttdeci"
>
std::string get_attr_val(tinyxml2::XMLElement *p_elem, xml_string name, bool mandatory, std::string default_val)
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"xml__utils_8cpp_source.html#l00142"
>
xml_utils.cpp:142
</a></div></div>
<div
class=
"ttc"
id=
"class_book_html_a7803e501902c21be36d95b6f36db0507"
><div
class=
"ttname"
><a
href=
"class_book.html#a7803e501902c21be36d95b6f36db0507"
>
Book::author_
</a></div><div
class=
"ttdeci"
>
std::string author_
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8h_source.html#l00025"
>
Book.h:25
</a></div></div>
<div
class=
"ttc"
id=
"class_book_html_a98ea7b3ed8fe0bd4cb90767e845b052d"
><div
class=
"ttname"
><a
href=
"class_book.html#a98ea7b3ed8fe0bd4cb90767e845b052d"
>
Book::Book
</a></div><div
class=
"ttdeci"
>
Book(tinyxml2::XMLElement *p_book)
</div><div
class=
"ttdef"
><b>
Definition:
</b>
<a
href=
"_book_8cpp_source.html#l00013"
>
Book.cpp:13
</a></div></div>
</div>
<!-- fragment -->
</div>
<!-- contents -->
<!-- start footer part -->
<hr
class=
"footer"
/><address
class=
"footer"
><small>
Generated by
 
<a
href=
"http://www.doxygen.org/index.html"
>
<img
class=
"footer"
src=
"doxygen.png"
alt=
"doxygen"
/>
</a>
1.8.13
</small></address>
</body>
</html>
Event Timeline
Log In to Comment