From mboxrd@z Thu Jan 1 00:00:00 1970 From: kupcevic@sourceware.org Date: 12 Jul 2006 18:15:11 -0000 Subject: [Cluster-devel] conga/ricci common/Variable.cpp docs/variables ... Message-ID: <20060712181511.19867.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: kupcevic at sourceware.org 2006-07-12 18:15:10 Modified files: ricci/common : Variable.cpp ricci/docs : variables.html ricci/modules/storage: ContentFS.h FSController.cpp MDRaid.cpp ricci/ricci : Ricci.cpp Log message: ricci/Ricci.cpp Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/Variable.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/docs/variables.html.diff?cvsroot=cluster&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ContentFS.h.diff?cvsroot=cluster&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/FSController.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MDRaid.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/Ricci.cpp.diff?cvsroot=cluster&r1=1.10&r2=1.11 --- conga/ricci/common/Variable.cpp 2006/05/23 17:45:38 1.4 +++ conga/ricci/common/Variable.cpp 2006/07/12 18:15:10 1.5 @@ -46,7 +46,7 @@ _mutable = (xml.get_attr("mutable") == "true"); - // _validator = Validator(xml); // incoming limits are not to be trusted anyhow + // _validator = Validator(xml); // incoming constraints are not to be trusted anyhow string type(xml.get_attr("type")); --- conga/ricci/docs/variables.html 2006/04/12 22:41:20 1.2 +++ conga/ricci/docs/variables.html 2006/07/12 18:15:10 1.3 @@ -5,15 +5,21 @@ Variables - +

<var/> represents a variable.
It has ???name???, ???type??? and ???mutable??? attributes. Optionally, dependent on ???type???, it might have ???value??? attribute as well. If variable is ???mutable???, -it will have constraints (constraints depend on ???type???). +it will have constraints (constraints depend on ???type???).
Besides +constraints, conditionals can be present as well:
- If a variable +has an if=???bool_var_name??? attribute, it is to be used only if +boolean variable named ???bool_var_name??? is set to ???true???.
+- If a variable has an ifnot=???bool_var_name??? attribute, it is to +be used only if boolean variable named ???bool_var_name??? is set to +???false???.

+

Types:

-

Types: