Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

PMCallbacks.cc File Reference

#include <iostream>
#include <y2util/Y2SLog.h>
#include <y2util/stringutil.h>
#include <y2pm/PMCallbacks.h>

Defines

#define SETIF(R, O)   if ( isPrefix( #R, #O, parse ) ) { action = R##O; return; }
#define ENUMOUT(S)   case CBSuggest::S: return str << #S; break

Functions

bool isPrefix (const string &reqStr_r, const string &optStr_r, const string &prfx_r)
std::ostream & operator<< (std::ostream &str, const CBSuggest::Action &obj)

Define Documentation

#define ENUMOUT  )     case CBSuggest::S: return str << #S; break
 

#define SETIF R,
 )     if ( isPrefix( #R, #O, parse ) ) { action = R##O; return; }
 


Function Documentation

bool isPrefix const string &  reqStr_r,
const string &  optStr_r,
const string &  prfx_r
[inline, static]
 

std::ostream& operator<< std::ostream &  str,
const CBSuggest::Action obj
 


Generated on Fri Nov 9 14:30:32 2007 for yast2-packagemanager by doxygen 1.3.6