2 * Copyright (c) 2000-2015 Samsung Electronics Co., Ltd.
4 * Licensed under the Flora License, Version 1.1 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #if !defined(AFX_CXMLFILE_H__21F76587_B9C8_4407_9C16_186F3D47ADE1__INCLUDED_)
18 #define AFX_CXMLFILE_H__21F76587_B9C8_4407_9C16_186F3D47ADE1__INCLUDED_
20 #include "TadcTypes.h"
21 #include "CXMLElement.h"
25 #endif // _MSC_VER > 1000
35 #define ELEMENT_QUEUE_MAX 2048
41 CXMLElement* m_paElementQueue[ ELEMENT_QUEUE_MAX ];
46 int _GetElementName( LPTSTR pszElementName );
48 int _Push( CXMLElement* p );
49 int _GetAttributeNameAndValue( LPTSTR pszName, LPTSTR pszValue );
55 int LoadFromStream( LPCTSTR pszXML );
56 int LoadFromFile( LPCTSTR pszFileName );
57 inline CXMLElement* GetRoot() { return m_pRoot; }
60 #endif // !defined(AFX_CXMLFILE_H__21F76587_B9C8_4407_9C16_186F3D47ADE1__INCLUDED_)