Back to index

unity  6.0.0
Public Member Functions | Public Attributes
UnityDialogExp Class Reference

List of all members.

Public Member Functions

 UnityDialogExp (const CompString &str)
bool evaluate (CompWindow *w)

Public Attributes

bool value

Detailed Description

Definition at line 25 of file unitydialog.cpp.


Constructor & Destructor Documentation

UnityDialogExp::UnityDialogExp ( const CompString &  str)

Definition at line 37 of file unitydialog.cpp.

                                                    :
  value(boost::lexical_cast<int> (str) != 0)
{
}

Member Function Documentation

bool UnityDialogExp::evaluate ( CompWindow *  w)

Definition at line 43 of file unitydialog.cpp.

{
  UnityDialogWindow* udw = UnityDialogWindow::get(w);

  return ((value && udw->transientParent()) || (!value && !udw->transientParent()));
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 33 of file unitydialog.cpp.


The documentation for this class was generated from the following file: