File: Vector.cpp

package info (click to toggle)
bouml 4.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 64,396 kB
  • ctags: 49,113
  • sloc: cpp: 244,497; makefile: 219
file content (11 lines) | stat: -rw-r--r-- 181 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11

#include "Vector.h"
#include "UmlItem.h"

void Vector::addElement(const UmlItem * x) {
  if (v.count() == v.size())
    v.resize(v.size() + 256);
    
  v.insert(v.count(), x);
}