internal PropertyTypeNoDuplicateValues(bool isVertexProp, TypeId typeId, PropertyId propertyId, string name, PropertyKind kind, Graph graph) : base(isVertexProp, typeId, propertyId, name, kind, graph) { m_valueToId = new BTreeMap <T, UInt64>(null, graph.GetSession()); m_IdToValue = new BTreeMap <UInt64, T>(null, graph.GetSession()); m_nextId = 0; }
/// <summary> /// Normally you should use <see cref="VelocityGraph.VertexType.GetVertex(VertexId,bool,bool)"/> but if you need a reference to a Vertex that has no yet been created, this constructor may be used (but know what you are doing!) /// </summary> /// <param name="g">the owning graph</param> /// <param name="eType">the type of the Vertex</param> /// <param name="eId">the Id of the Vertex</param> public Vertex(Graph g, VertexType eType, VertexId eId) : base(eId, g) { m_vertexType = eType; }