From mboxrd@z Thu Jan 1 00:00:00 1970 From: kupcevic@sourceware.org Date: 12 Jul 2006 18:27:28 -0000 Subject: [Cluster-devel] conga/ricci common/Variable.cpp docs/variables ... Message-ID: <20060712182728.25640.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:27:26 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: Revert previous patch Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/Variable.cpp.diff?cvsroot=cluster&r1=1.5&r2=1.6 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/docs/variables.html.diff?cvsroot=cluster&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ContentFS.h.diff?cvsroot=cluster&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/FSController.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/MDRaid.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/Ricci.cpp.diff?cvsroot=cluster&r1=1.11&r2=1.12 --- conga/ricci/common/Variable.cpp 2006/07/12 18:15:10 1.5 +++ conga/ricci/common/Variable.cpp 2006/07/12 18:27:26 1.6 @@ -46,7 +46,7 @@ _mutable = (xml.get_attr("mutable") == "true"); - // _validator = Validator(xml); // incoming constraints are not to be trusted anyhow + // _validator = Validator(xml); // incoming limits are not to be trusted anyhow string type(xml.get_attr("type")); --- conga/ricci/docs/variables.html 2006/07/12 18:15:10 1.3 +++ conga/ricci/docs/variables.html 2006/07/12 18:27:26 1.4 @@ -5,21 +5,15 @@ 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???).
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: +it will have constraints (constraints depend on ???type???).

+

Types: