MapQuest Advantage JavaScript API Reference Documentation

Class MQRouteMatrixResults

Object
   |
   +--MQObject
         |
         +--MQRouteMatrixResults

class MQRouteMatrixResults
extends MQObject


Contains the results of a route matrix request.
See:

Defined in mqobjects.js


Field Summary
<private>  MQIntCollection m_Distance
          Value to represent the distance matrix
<private>  int m_LocationCount
          Value to represent the count of locations
<private>  MQRouteMatrixResultsCode m_ResultCode
          Value to represent the result code
<private>  MQStringCollection m_ResultMessages
          Value to represent the result messages
<private>  MQIntCollection m_Time
          Value to represent the time matrix
   
Fields inherited from class MQObject
m_xmlDoc, m_xpath
 
Constructor Summary
MQRouteMatrixResults ()
            Constructs a new MQRouteMatrixResults object.
 
Method Summary
 Boolean getAllToAllFlag()
           Gets the all-to-all flag.
 String getClassName()
           Returns the text name of this class.
 String getCoverageName()
           Gets the Coverage name used to perform this route.
 Double getDistance(<int> from, <int> to)
           Returns the calculated distance of the route.
 int getObjectVersion()
           Returns the version of this class.
 MQRouteMatrixResultsCode getResultCode()
           Gets the result code member of this object.
 MQStringCollection getResultsMessages()
           Gets the result messages of this object.
 int getTime(<int> from, <int> to)
           Returns the calculated elapsed time in seconds for the route.
 void loadXml(<String> strXml)
           Assigns the xml that relates to this object.
 String saveXml()
           Build an xml string that represents this object.
 void setCoverageName(<String> newCoverageName)
           Sets the Coverage name used to perform this route.
 void setDistance(<MQIntCollection> col)
           Sets the distance MQIntCollection.
 void setResultCode(rc)
           Sets the result code member of this object.
 void setResultMessages(<MQStringCollection> col)
           Sets the ResultMessages MQStringCollection.
 void setTime(<MQIntCollection> col)
           Sets the time MQIntCollection.
 
Methods inherited from class MQObject
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
 

Field Detail

m_Distance

<private> MQIntCollection m_Distance

m_LocationCount

<private> int m_LocationCount

m_ResultCode

<private> MQRouteMatrixResultsCode m_ResultCode

m_ResultMessages

<private> MQStringCollection m_ResultMessages

m_Time

<private> MQIntCollection m_Time

Constructor Detail

MQRouteMatrixResults

MQRouteMatrixResults()

Method Detail

getAllToAllFlag

Boolean getAllToAllFlag()

getClassName

String getClassName()

getCoverageName

String getCoverageName()

getDistance

Double getDistance(<int> from, <int> to)

getObjectVersion

int getObjectVersion()

getResultCode

MQRouteMatrixResultsCode getResultCode()

getResultsMessages

MQStringCollection getResultsMessages()

getTime

int getTime(<int> from, <int> to)

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

setCoverageName

void setCoverageName(<String> newCoverageName)

setDistance

void setDistance(<MQIntCollection> col)

setResultCode

void setResultCode(rc)

setResultMessages

void setResultMessages(<MQStringCollection> col)

setTime

void setTime(<MQIntCollection> col)

MapQuest Advantage JavaScript API Reference Documentation

Documentation generated by JSDoc on Tue Oct 16 08:04:12 2007