X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..d7af2feac42c8b27a0823131dc2f4004c2472279:/docs/latex/wx/expr.tex diff --git a/docs/latex/wx/expr.tex b/docs/latex/wx/expr.tex index b6fd3020a4..5bb30904b6 100644 --- a/docs/latex/wx/expr.tex +++ b/docs/latex/wx/expr.tex @@ -8,6 +8,10 @@ or list, and lists can be nested. None +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxExpr overview}{exproverview}, \helpref{wxExprDatabase}{wxexprdatabase} @@ -42,8 +46,8 @@ Construct a floating point expression. Construct a list expression. The list's nodes' data should themselves be {\bf wxExpr}s. -The current version of this library no longer uses the {\bf wxList} -internally, so this constructor turns the list into its internal +wxExpr no longer uses the {\bf wxList} internally, +so this constructor turns the list into its internal format (assuming a non-nested list) and then deletes the supplied list. @@ -283,17 +287,9 @@ typedef enum { Returns the word value of the expression. -\membersection{wxExpr::WriteLispExpr}\label{wxexprwritelistexpr} - -\func{void}{WriteLispExpr}{\param{ostream\&}{ stream}} - -Writes the expression or clause to the given stream in LISP format. -Not normally needed, since the whole {\bf wxExprDatabase} will usually -be written at once. Lists are enclosed in parentheses will no commas. - -\membersection{wxExpr::WritePrologClause}\label{wxexprwriteprologclause} +\membersection{wxExpr::WriteClause}\label{wxexprwriteprologclause} -\func{void}{WritePrologClause}{\param{ostream\&}{ stream}} +\func{void}{WriteClause}{\param{FILE *}{ stream}} Writes the clause to the given stream in Prolog format. Not normally needed, since the whole {\bf wxExprDatabase} will usually be written at once. The format is: @@ -302,7 +298,7 @@ full stop. \membersection{wxExpr::WriteExpr}\label{wxexprwriteexpr} -\func{void}{WriteExpr}{\param{ostream\&}{ stream}} +\func{void}{WriteExpr}{\param{FILE *}{ stream}} Writes the expression (not clause) to the given stream in Prolog format. Not normally needed, since the whole {\bf wxExprDatabase} will @@ -380,7 +376,6 @@ bool myErrorHandler(int err, chat *msg) wxExprDatabase database(myErrorHandler); \end{verbatim} - \func{}{wxExprDatabase}{\param{wxExprType}{ type}, \param{const wxString\&}{attribute}, \rtfsp\param{int}{ size = 500}, \param{proioErrorHandler}{ handler = 0}} @@ -490,15 +485,11 @@ Reads in the given file, returning TRUE if successful. Reads a Prolog database from the given string buffer, returning TRUE if successful. -\membersection{wxExprDatabase::WriteLisp}\label{wxexprdatabasewritelisp} - -\func{bool}{WriteLisp}{\param{ostream\& }{stream}} - -Writes the database as a LISP-format file. - \membersection{wxExprDatabase::Write}\label{wxexprdatabasewrite} -\func{bool}{Write}{\param{ostream\& }{stream}} +\func{bool}{Write}{\param{FILE *}{stream}} + +\func{bool}{Write}{\param{const wxString\&}{ filename}} Writes the database as a Prolog-format file.