FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kUpgEvaluator.h
Go to the documentation of this file.
1 
8 #ifndef kFS_UPG_EVALUATOR_H
9 #define kFS_UPG_EVALUATOR_H
10 
11 #include <kFireSync/kFsDef.h>
12 #include <kFireSync/Data/kPropertyList.h>
14 
22 typedef kObject kUpgEvaluator;
23 
28 kFsFx(kStatus) kUpgEvaluator_Construct(kUpgEvaluator* evaluator, kPropertyList propertyList, kAlloc alloc);
29 
30 kFsFx(kStatus) kUpgEvaluator_SetMacro(kUpgEvaluator evaluator, const kChar* name, kBool value);
31 
32 kFsFx(kStatus) kUpgEvaluator_Evaluate(kUpgEvaluator evaluator, kUpgCondition condition, kBool* result);
33 
34 // TODO: improve this with a "blame" list
35 kFsFx(const kChar*) kUpgEvaluator_LastProperty(kUpgEvaluator evaluator);
36 
37 #endif
Evaluates a kUpgCondition.
#define kDeclareClassEx(PREFIX, SYMBOL, BASE)
Essential API declarations for the kFireSync library.
Represents a boolean condition in validation and script files.
Declares the kUpgCondition class.