1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
#include "UmlBaseClassItem.h"
#include "UmlCom.h"
#ifdef WITHCPP
const QCString & UmlBaseClassItem::cppDecl() {
read_if_needed_();
return _cpp_decl;
}
bool UmlBaseClassItem::set_CppDecl(const char * s) {
return set_it_(_cpp_decl, s, setCppDeclCmd);
}
#endif
#ifdef WITHJAVA
const QCString & UmlBaseClassItem::javaDecl() {
read_if_needed_();
return _java_decl;
}
bool UmlBaseClassItem::set_JavaDecl(const char * s) {
return set_it_(_java_decl, s, setJavaDeclCmd);
}
#endif
#ifdef WITHIDL
const QCString & UmlBaseClassItem::idlDecl() {
read_if_needed_();
return _idl_decl;
}
bool UmlBaseClassItem::set_IdlDecl(const char * s) {
return set_it_(_idl_decl, s, setIdlDeclCmd);
}
#endif
void UmlBaseClassItem::unload(bool rec, bool del) {
#ifdef WITHCPP
_cpp_decl = 0;
#endif
#ifdef WITHJAVA
_java_decl = 0;
#endif
#ifdef WITHIDL
_idl_decl = 0;
#endif
UmlBaseItem::unload(rec, del);
}
#ifdef WITHCPP
void UmlBaseClassItem::read_cpp_() {
_cpp_decl = UmlCom::read_string();
}
#endif
#ifdef WITHJAVA
void UmlBaseClassItem::read_java_() {
_java_decl = UmlCom::read_string();
}
#endif
#ifdef WITHIDL
void UmlBaseClassItem::read_idl_() {
_idl_decl = UmlCom::read_string();
}
#endif
|