Subversion Repositories gelsvn

Rev

Rev 572 | Rev 587 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 572 Rev 578
Line 2... Line 2...
2
 * This file is part of GEL, http://www.imm.dtu.dk/GEL
2
 * This file is part of GEL, http://www.imm.dtu.dk/GEL
3
 * Copyright (C) the authors and DTU Informatics
3
 * Copyright (C) the authors and DTU Informatics
4
 * For license and list of authors, see ../../doc/intro.pdf
4
 * For license and list of authors, see ../../doc/intro.pdf
5
 * ----------------------------------------------------------------------- */
5
 * ----------------------------------------------------------------------- */
6
 
6
 
-
 
7
/**
-
 
8
  @file AttributeVector.h
-
 
9
 Contains an abstract class template for attribute vectors for HMesh entities. 
-
 
10
 Also contains templates for attribute vectors for concrete entities.
-
 
11
 */
-
 
12
 
7
#ifndef __HMESH_ATTRIBUTEVECTOR_H__
13
#ifndef __HMESH_ATTRIBUTEVECTOR_H__
8
#define __HMESH_ATTRIBUTEVECTOR_H__
14
#define __HMESH_ATTRIBUTEVECTOR_H__
9
 
15
 
10
#include <cassert>
16
#include <cassert>
11
#include <vector>
17
#include <vector>
12
#include <map>
18
#include <map>
13
 
19
 
14
namespace HMesh
20
namespace HMesh
15
{
21
{
-
 
22
    /// Abstract class for HMesh entity attribute vectors.
16
    template<typename ITEM, typename ITEMID>
23
    template<typename ITEM, typename ITEMID>
17
    class AttributeVector
24
    class AttributeVector
18
    {
25
    {
19
    public:
26
    public:
20
        /// Construct from optional size and item (size should be identical to number of entities in associated container
27
        /// Construct from optional size and item (size should be identical to number of entities in associated container