Exemple #1
0
void cbRepr(DcmStack& stk) {
    DcmType *dcm = safePeekMain(stk);
    stk.pop();
    stk.push(new DcmString(dcm->repr()));
    del(dcm);
}
Exemple #2
0
void cbBottom(DcmStack& stk) {
    stk.push(new DcmBool(stk.empty()));
}
Exemple #3
0
Fichier : io.cpp Projet : xorgy/dcm
void cbInput(DcmStack& stk) {
    string str;
    getline(dcmin, str);
    stk.push(new DcmString(str));
}