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_UPGEVALUATOR_H
9 #define kFS_UPGEVALUATOR_H
10 
11 #include <kFireSync/kFsDef.h>
12 #include <kFireSync/Data/kPropertyList.h>
14 
15 kBeginHeader()
16 
17 
24 typedef kObject kUpgEvaluator;
25 
26 kDeclareClass(kFs, kUpgEvaluator, kObject)
27 
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 kEndHeader()
38 #endif
Evaluates a kUpgCondition.
Essential API declarations for the kFireSync library.
Represents a boolean condition in validation and script files.
Declares the kUpgCondition class.