YCPBuiltinBoolean.cc File Reference

#include "ycp/YCPBuiltinBoolean.h"
#include "ycp/YCPBoolean.h"
#include "ycp/YCPCode.h"
#include "ycp/StaticDeclaration.h"

Functions

static YCPValue b_lnot (const YCPBoolean &b)
static YCPValue b_or (const YCPCode &b1, const YCPCode &b2)
static YCPValue b_and (const YCPCode &b1, const YCPCode &b2)

Variables

StaticDeclaration static_declarations

Function Documentation

static YCPValue b_and ( const YCPCode b1,
const YCPCode b2 
) [static]

boolean b1 && boolean b2 -> boolean Logical and for booleans.

Example:

 false && true -> false
 

static YCPValue b_lnot ( const YCPBoolean b  )  [static]

! boolean b -> boolean Logical not for booleans.

Example:

 !false -> true
 

static YCPValue b_or ( const YCPCode b1,
const YCPCode b2 
) [static]

boolean b1 || boolean b2 -> boolean Logical or for booleans.

Example:

 false || true -> true
 


Variable Documentation

StaticDeclaration static_declarations


Generated on Tue Nov 6 01:27:47 2007 for yast2-core by  doxygen 1.5.3