Class asciiGrid

    • Nested Class Summary

      • Nested classes/interfaces inherited from class opendap.dap.DAPNode

        opendap.dap.DAPNode.CloneMap
    • Field Summary

      • Fields inherited from class opendap.dap.DGrid

        ARRAY, arrayVar, MAPS, mapVars
      • Fields inherited from class opendap.dap.DAPNode

        _nameClear, _nameEncoded, log
    • Constructor Summary

      Constructors 
      Constructor Description
      asciiGrid()
      Constructs a new asciiGrid.
      asciiGrid​(String n)
      Constructs a new asciiGrid with name n.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void toASCII​(PrintWriter pw, boolean addName, String rootName, boolean newLine)
      Returns a string representation of the variables value.
      String toASCIIAddRootName​(PrintWriter pw, boolean addName, String rootName)  
      String toASCIIFlatName​(String rootName)  
      • Methods inherited from class opendap.dap.DGrid

        addVariable, checkSemantics, cloneDAG, deserialize, elementCount, externalize, getArray, getArrayDims, getTypeName, getVar, getVarCount, getVariable, getVariables, printDecl, printVal, printXML, projectedComponents, projectionYieldsGrid
      • Methods inherited from class opendap.dap.DConstructor

        addVariable, someChildHasAttributes
      • Methods inherited from class opendap.dap.BaseType

        addAttributeAlias, addAttributeContainer, appendAttribute, appendAttribute, appendAttributeContainer, checkSemantics, delAttribute, delAttribute, elementCount, getAttribute, getAttribute, getAttributeNames, getAttributeTable, getLongName, hasAttributes, newPrimitiveVector, printAttributes, printAttributes, printAttributes, printAttributes, printConstraint, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, printXML, printXML, printXML, printXML, setClearName
      • Methods inherited from class opendap.dap.DAPNode

        clone, cloneDAG, getClearName, getEncodedName, getParent, isProject, setEncodedName, setParent, setProject, setProject, setProjected
    • Constructor Detail

      • asciiGrid

        public asciiGrid()
        Constructs a new asciiGrid.
      • asciiGrid

        public asciiGrid​(String n)
        Constructs a new asciiGrid with name n.
        Parameters:
        n - the name of the variable.
    • Method Detail

      • toASCII

        public void toASCII​(PrintWriter pw,
                            boolean addName,
                            String rootName,
                            boolean newLine)
        Returns a string representation of the variables value. This is really foreshadowing functionality for Server types, but as it may come in useful for clients it is added here. Simple types (example: DFloat32) will return a single value. DConstuctor and DVector types will be flattened. DStrings and DURL's will have double quotes around them.
        Specified by:
        toASCII in interface toASCII
        Parameters:
        addName - is a flag indicating if the variable name should appear at the begining of the returned string.