2017-10-07 73 views
2

有可能獲得屬性一些模型節點:如何獲得物業類型

model.getProperties(nodeId, /*success handler*/, /*error handler*/) 

結果是這樣的: properties list

房屋介紹有田「字型」,看起來像ID。我可以找到有關房產類型的信息嗎?我怎樣才能確定它是可數字還是按字母順序?

回答

1

下面是執行性質提取的C++代碼的類型值:

enum AttributeType { 

    /* Numeric types */ 
    Unknown     = 0, 
    Boolean, 
    Integer, 
    Double, 

    /* Special types */ 
    BLOB     = 10, 
    DbKey, /* reprensets a link to another object in the database, using database internal ID */ 

    /* String types */ 
    String     = 20, 
    LocalizableString, 
    DateTime,  /* ISO 8601 date */ 
    GeoLocation, /* LatLonHeight - ISO6709 Annex H string, e.g: "+27.5916+086.5640+8850/" for Mount Everest */ 
    Position  /* "x y z w" space separated string representing vector with 2,3 or 4 elements*/ 
}; 
+0

1)它是在你的計劃作出可能獲得一些API這些信息? –

+0

2)如何獲取類型的附加信息?例如,雙精度? –

+0

我認爲這些信息不可用 –