51#ifndef HEADER_INCLUDED__SAGA_API__metadata_H 
   52#define HEADER_INCLUDED__SAGA_API__metadata_H 
  115        bool                                            from_XML                        (
const char       *XML, 
size_t Length, 
const char *Encoding = 
"UTF-8");
 
  131        bool                                            Cmp_Name                        (
const CSG_String &String, 
bool bNoCase =  
true) 
const;
 
  137        bool                                            Get_Content                     (
const CSG_String &Name, 
double     &Value)   
const;
 
  138        bool                                            Get_Content                     (
const CSG_String &Name, 
int        &Value)   
const;
 
  141        void                                            Fmt_Content                     (
const char    *Format, ...);
 
  142        void                                            Fmt_Content                     (
const wchar_t *Format, ...);
 
  143        bool                                            Cmp_Content                     (
const CSG_String &String, 
bool bNoCase = 
false) 
const;
 
  147        int                                                     Get_Count                      (
void)
 const                    { 
return( (
int)m_Children.Get_Size() ); }
 
  165        bool                                            Mov_Child                       (
int from_Index, 
int to_Index);
 
  166        bool                                            Del_Child                       (
int Index);
 
  170        bool                                            Del_Children            (
int Depth = 0, 
const SG_Char *Name = NULL);
 
  181        const SG_Char *                          
Get_Property                (
int Index)
              const { 
return( Index >= 0 && Index < m_Prop_Values.Get_Count() ? m_Prop_Values[Index].c_str() : NULL ); }
 
  184        bool                                            Get_Property            (
const CSG_String &Name, 
double     &Value) 
const;
 
  185        bool                                            Get_Property            (
const CSG_String &Name, 
int        &Value) 
const;
 
  188        bool                                            Add_Property            (
const CSG_String &Name, 
double            Value);
 
  189        bool                                            Add_Property            (
const CSG_String &Name, 
int               Value);
 
  191        bool                                            Set_Property            (
const CSG_String &Name, 
const CSG_String &Value, 
bool bAddIfNotExists = 
true);
 
  192        bool                                            Set_Property            (
const CSG_String &Name, 
double            Value, 
bool bAddIfNotExists = 
true);
 
  193        bool                                            Set_Property            (
const CSG_String &Name, 
int               Value, 
bool bAddIfNotExists = 
true);
 
  194        bool                                            Set_Property            (
const CSG_String &Name, 
sLong             Value, 
bool bAddIfNotExists = 
true);
 
  195        bool                                            Cmp_Property            (
const CSG_String &Name, 
const CSG_String &String, 
bool bNoCase = 
false) 
const;
 
  197        bool                                            Del_Property            (
int i);
 
  200        class CSG_Table                                Get_Table                       (int Flags = 0) 
const;
 
  217        void                                            _On_Construction        (
void);
 
  219        int                                                     _Get_Child                      (
const CSG_String &Name) 
const;
 
  220        int                                                     _Get_Property           (
const CSG_String &Name) 
const;
 
  222        void                                            _Load                           (
class wxXmlNode *pNode);
 
  223        void                                            _Save                           (
class wxXmlNode *pNode) 
const;
 
 
#define SAGA_API_DLL_EXPORT
bool is_Connected(void) const
bool Request(const CSG_String &Request, CSG_Bytes &Answer)