Project

General

Profile

Actions

Task #1317

closed

FaceTable

Added by Junxiao Shi almost 11 years ago. Updated almost 11 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 #1

Updated by Junxiao Shi almost 11 years ago

  • Status changed from New to Code review
  • Start date set to 03/02/2014
  • % Done changed from 0 to 70
Actions #2

Updated by Junxiao Shi almost 11 years ago

  • Status changed from Code review to Closed
  • % Done changed from 70 to 100
Actions

Also available in: Atom PDF