X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fbuilder%2Ftree-node.h;h=f99059d2b345ca3bc6798ac7f9e610b4071e4c2e;hb=746c9a68c411a98ba9e853609775a1519ae5bcd9;hp=3e47aea2116d6744de8fe790830d5885212390f3;hpb=c54c46322a1435884d905f806d79b0ee402d251a;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/builder/tree-node.h b/dali-toolkit/devel-api/builder/tree-node.h index 3e47aea..f99059d 100644 --- a/dali-toolkit/devel-api/builder/tree-node.h +++ b/dali-toolkit/devel-api/builder/tree-node.h @@ -1,8 +1,8 @@ -#ifndef __DALI_SCRIPT_TREE_NODE_H__ -#define __DALI_SCRIPT_TREE_NODE_H__ +#ifndef DALI_SCRIPT_TREE_NODE_H +#define DALI_SCRIPT_TREE_NODE_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -21,7 +21,7 @@ // EXTERNAL INCLUDES #include // pair #include -#include +#include namespace Dali { @@ -42,7 +42,7 @@ class TreeNodeManipulator; * TreeNode does not own its string data which is held by a container eg JsonParser * Modification operations should be done through a container. */ -class DALI_IMPORT_API TreeNode +class DALI_TOOLKIT_API TreeNode { public: /* @@ -182,13 +182,20 @@ public: bool HasSubstitution() const; /* - * Gets a child of the node - * @param name The name of the child + * Gets a child of the node (using case sensitive matching) + * @param name The name of the child. * @return The child if found, else NULL */ const TreeNode* GetChild(const std::string& name) const; /* + * Gets a child of the node (using case insensitive matching) + * @param name The name of the child in lower case + * @return The child if found, else NULL + */ + const TreeNode* GetChildIgnoreCase(const std::string& name) const; + + /* * Recursively search for a child of the node * @param name The name of the child * @return The child if found, else NULL @@ -230,4 +237,4 @@ private: } // namespace Dali -#endif // __DALI_SCRIPT_TREE_NODE_H__ +#endif // DALI_SCRIPT_TREE_NODE_H