projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No longer using std::unary_function<>.
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
builder
/
tree-node-manipulator.h
diff --git
a/dali-toolkit/internal/builder/tree-node-manipulator.h
b/dali-toolkit/internal/builder/tree-node-manipulator.h
index
838c2cb
..
eaea13e
100644
(file)
--- a/
dali-toolkit/internal/builder/tree-node-manipulator.h
+++ b/
dali-toolkit/internal/builder/tree-node-manipulator.h
@@
-1,8
+1,8
@@
-#ifndef
__DALI_SCRIPT_TREE_NODE_MANIPULATOR_H__
-#define
__DALI_SCRIPT_TREE_NODE_MANIPULATOR_H__
+#ifndef
DALI_SCRIPT_TREE_NODE_MANIPULATOR_H
+#define
DALI_SCRIPT_TREE_NODE_MANIPULATOR_H
/*
/*
- * Copyright (c) 201
4
Samsung Electronics Co., Ltd.
+ * Copyright (c) 201
9
Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-23,7
+23,7
@@
#include <iterator>
#include <cstring>
#include <iterator>
#include <cstring>
-#include <dali
/public-api/common/dali
-common.h>
+#include <dali
-toolkit/public-api/dali-toolkit
-common.h>
#include <dali/public-api/common/vector-wrapper.h>
// INTERNAL INCLUDES
#include <dali/public-api/common/vector-wrapper.h>
// INTERNAL INCLUDES
@@
-191,21
+191,21
@@
private:
/*
* Do write to string stream
*/
/*
* Do write to string stream
*/
- void DoWrite(const TreeNode *value, std::ostream& output, int
ident
) const;
+ void DoWrite(const TreeNode *value, std::ostream& output, int
level, int ident, bool groupChildren
) const;
};
/*
* Collect nodes
*/
};
/*
* Collect nodes
*/
-struct CollectNodes
: public std::unary_function<TreeNode*, void>
+struct CollectNodes
{
CollectNodes() {};
/*
* Call operator to add nodes to the list
*/
{
CollectNodes() {};
/*
* Call operator to add nodes to the list
*/
-
result_type operator()(argument_type
& n)
+
void operator()(TreeNode*
& n)
{
DALI_ASSERT_DEBUG(n && "Operation on NULL JSON node");
nodes.push_back(n);
{
DALI_ASSERT_DEBUG(n && "Operation on NULL JSON node");
nodes.push_back(n);
@@
-260,4
+260,4
@@
char *CopyString( const char *fromString, VectorCharIter& iter, const VectorChar
} // namespace Dali
} // namespace Dali
-#endif //
__DALI_SCRIPT_TREE_NODE_MANIPULATOR_H__
+#endif //
DALI_SCRIPT_TREE_NODE_MANIPULATOR_H