X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fbuilder%2Fbuilder-impl-debug.cpp;h=d543669f1a66b297acc64c0c985524322408c6d9;hb=9ddd5fea6278d06b8874988498c7c4c6508750ba;hp=2e89d715a88184135a7814c3da48196a138a31dd;hpb=0695455c9e382f0b19d9e1062a384c32b91f0a38;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/builder/builder-impl-debug.cpp b/dali-toolkit/internal/builder/builder-impl-debug.cpp index 2e89d71..d543669 100644 --- a/dali-toolkit/internal/builder/builder-impl-debug.cpp +++ b/dali-toolkit/internal/builder/builder-impl-debug.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -15,11 +15,11 @@ */ #ifdef DEBUG_ENABLED +#include #include #include -#include -#include #include +#include namespace Dali { @@ -27,16 +27,16 @@ namespace Toolkit { namespace Internal { - -void LogTree( const Toolkit::JsonParser& parser ) +void LogTree(const Toolkit::JsonParser& parser) { - if( OptionalChild constants = IsChild(parser.GetRoot(), "constants") ) + if(OptionalChild constants = IsChild(parser.GetRoot(), "constants")) { for(TreeNode::ConstIterator iter = (*constants).CBegin(); - iter != (*constants).CEnd(); ++iter) + iter != (*constants).CEnd(); + ++iter) { - if( ( (*iter).first && strcmp( (*iter).first, "DUMP_TREE" ) == 0 ) || - ( (*iter).second.GetType() == TreeNode::STRING && strcmp( (*iter).second.GetString(), "DUMP_TREE" ) == 0 ) ) + if(((*iter).first && strcmp((*iter).first, "DUMP_TREE") == 0) || + ((*iter).second.GetType() == TreeNode::STRING && strcmp((*iter).second.GetString(), "DUMP_TREE") == 0)) { std::ostringstream oss; parser.Write(oss, 2); @@ -46,7 +46,7 @@ void LogTree( const Toolkit::JsonParser& parser ) } } -std::string PropertyValueToString( const Property::Value& value ) +std::string PropertyValueToString(const Property::Value& value) { std::ostringstream oss; oss << value; @@ -54,8 +54,8 @@ std::string PropertyValueToString( const Property::Value& value ) return oss.str(); } -} // Internal -} // Toolkit -} // Dali +} // namespace Internal +} // namespace Toolkit +} // namespace Dali #endif // DEBUG_ENABLED