/* * Copyright (c) 1995, 1996 Gunther Schadow. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef OUTLINE # define inline #endif /* setseg(char d) is not allowed in HL7 */ inline void Delimiters::setfld(char d) { _fld=d; } inline void Delimiters::setrep(char d) { _rep=d; } inline void Delimiters::setcmp(char d) { _seg=d; } inline void Delimiters::setscm(char d) { _scm=d; } inline void Delimiters::setesc(char d) { _esc=d; } inline char Delimiters::getseg() const { return _seg; } inline char Delimiters::getfld() const { return _fld; } inline char Delimiters::getrep() const { return _rep; } inline char Delimiters::getcmp() const { return _cmp; } inline char Delimiters::getscm() const { return _scm; } inline char Delimiters::getesc() const { return _esc; } inline bool Delimiters::ispresent() const { return TRUE; } inline void Delimiters::unset() { Delimiters::reset(); } inline bool Delimiters::commit() { return TRUE; } #ifdef OUTLINE # undef inline #endif