Project

General

Profile

Actions

Task #1317

closed

FaceTable

Added by Junxiao Shi over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Faces
Target version:
Start date:
03/02/2014
Due date:
% Done:

100%

Estimated time:
2.00 h

Description

Develop a FaceTable class that stores all faces, and assigns FaceId to each new Face.

The FaceTable instance is owned by Forwarder, and used by management.

API

class FaceTable
{
  shared_ptr<Face> get(FaceId id) const;
  void add(shared_ptr<Face> face);
  void remove(shared_ptr<Face> face);

  typedef ... const_iterator; // iterator of shared_ptr<Face>
  const_iterator begin();
  const_iterator end();
};

Related issues 1 (0 open1 closed)

Blocks NFD - Task #1245: Face list commandClosed

Actions
Actions

Also available in: Atom PDF