pyNastran  0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods Class Reference

List of all members.

Public Member Functions

def __init__
def update_card_lines
 expands a card with tabs in it
def isLargeField
 returns True if the card is in 16-character width fields
def processCard
 takes a list of strings and returns a list with the proper value in the fields of the list
def expandTabCommas
 The only valid tab/commas format in nastran is having the first field be a tab and the rest of the fields be separated by commas.
def parseDynamicSyntax
 Applies the dynamic syntax for varName.
def getValue
 converts a value from nastran format into python format.

Public Attributes

 nCardLinesMax
 doneReading

Detailed Description

Definition at line 30 of file bdf_cardMethods.py.


Constructor & Destructor Documentation

def pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.__init__ (   self,
  nCardLinesMax = 1000 
)

Definition at line 31 of file bdf_cardMethods.py.


Member Function Documentation

expands a card with tabs in it

Definition at line 55 of file bdf_cardMethods.py.

The only valid tab/commas format in nastran is having the first field be a tab and the rest of the fields be separated by commas.

Parameters:
selfthe object pointer
linea BDF line

Definition at line 305 of file bdf_cardMethods.py.

References pyNastran.bdf.bdf.BDF.dictOfVars, and pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.parseDynamicSyntax().

Referenced by pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.processCard().

Applies the dynamic syntax for varName.

Parameters:
selfthe object pointer
keythe uppercased key
Return values:
valuethe dynamic value defined by dictOfVars
Note:
varName is actually VARNAME b/c of auto-uppercasing the string, so the setDynamicSyntax method uppercases the key prior to this step.
See also:
setDynamicSyntax

Definition at line 341 of file bdf_cardMethods.py.

References pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.getValue(), pyNastran.bdf.bdf.BDF.isDynamicSyntax, and pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.parseDynamicSyntax().

Referenced by pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.expandTabCommas(), and pyNastran.bdf.bdfInterface.bdf_cardMethods.CardMethods.parseDynamicSyntax().


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables