Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
Boolean Class Reference
Inheritance diagram for Boolean:
Argument

Public Member Functions

def checkValidity
 
- Public Member Functions inherited from Argument
def __init__
 
def set
 
def isValid
 
def checkValidity
 
def warn
 
def printwarnings
 

Data Fields

 value
 
- Data Fields inherited from Argument
 warnings
 
 value
 
 nextarg
 

Static Public Attributes

string NAME = "Boolean"
 
- Static Public Attributes inherited from Argument
string NAME = "Argument"
 

Detailed Description

Definition at line 356 of file verify_missions.py.

Member Function Documentation

def checkValidity (   self)

Definition at line 360 of file verify_missions.py.

361  def checkValidity(self):
362  try:
363  isbool = self.value == True or self.value == False
364  except:
365  isbool = False
366  if not isbool:
367  self.warn("is not a boolean type")
368  return False
369  return True

Field Documentation

string NAME = "Boolean"
static

Definition at line 358 of file verify_missions.py.

value

Definition at line 362 of file verify_missions.py.


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