ModulesAgent.cc File Reference

#include "Y2Logger.h"
#include "ModulesAgent.h"
#include "ModulesConf.h"

Defines

#define MAGIC_DIRECTIVE   "extra"
#define PC(n)   (path->component_str(n))
#define VAL2STR(v)   ((v)->asString()->value())
#define VAL2CSTR(v)   ((v)->asString()->value_cstr())

Functions

template<class T>
YCPList map2list (const T &m)
template<class T>
YCPMap map2ycpmap (const T &m)
ModuleEntry::EntryArg ycpmap2map (const YCPMap &m)

Define Documentation

#define MAGIC_DIRECTIVE   "extra"

#define PC (  )     (path->component_str(n))

#define VAL2CSTR (  )     ((v)->asString()->value_cstr())

#define VAL2STR (  )     ((v)->asString()->value())


Function Documentation

template<class T>
YCPList map2list ( const T &  m  ) 

Simple template function for converting c++ map into YCP list

template<class T>
YCPMap map2ycpmap ( const T &  m  ) 

Simple template function for converting c++ map into YCP map

ModuleEntry::EntryArg ycpmap2map ( const YCPMap m  ) 

Simple function for converting YCP map into c++ map


Generated on Tue Nov 6 01:20:21 2007 for yast2-core by  doxygen 1.5.0