2017-10-07 43 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

我认为这些信息不可用 –