mirror of
https://github.com/esiur/esiur-dart.git
synced 2025-05-06 20:02:59 +00:00
35 lines
698 B
Dart
35 lines
698 B
Dart
|
|
import 'MemberType.dart';
|
|
import '../../Data/DC.dart';
|
|
import './ResourceTemplate.dart';
|
|
|
|
class MemberTemplate
|
|
{
|
|
|
|
int get index => _index;
|
|
String get name => _name;
|
|
MemberType get type => _type;
|
|
|
|
ResourceTemplate _template;
|
|
String _name;
|
|
MemberType _type;
|
|
int _index;
|
|
|
|
ResourceTemplate get template => _template;
|
|
|
|
MemberTemplate(ResourceTemplate template, MemberType type, int index, String name)
|
|
{
|
|
this._template = template;
|
|
this._type = type;
|
|
this._index = index;
|
|
this._name = name;
|
|
}
|
|
|
|
String get fullname => _template.className + "." + _name;
|
|
|
|
DC compose()
|
|
{
|
|
// return DC.ToBytes(Name);
|
|
}
|
|
}
|