File: UmlBaseActualParameter.cpp

package info (click to toggle)
bouml 2.19.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 42,364 kB
  • ctags: 33,402
  • sloc: cpp: 169,092; makefile: 135
file content (20 lines) | stat: -rw-r--r-- 571 bytes parent folder | download | duplicates (44)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#include "UmlBaseActualParameter.h"
#include "UmlClass.h"

#include "UmlCom.h"
UmlClass * UmlBaseActualParameter::superClass() const { return _superClass; }

unsigned UmlBaseActualParameter::rank() const { return _rank; }


const UmlTypeSpec & UmlBaseActualParameter::value() const { return _value; }

void UmlBaseActualParameter::read_() {
  _superClass = (UmlClass *) UmlBaseItem::read_();	// cannot be 0
  _rank = UmlCom::read_unsigned();
  _value.type = (UmlClass *) UmlBaseItem::read_();
  if (_value.type == 0)
    _value.explicit_type = UmlCom::read_string();
}