1 /** 2 * @cond doxygenLibsbmlInternal 3 * 4 * @file IdFilter.h 5 * @brief Filter to return only elements with an id set 6 * @author Sarah Keating 7 * 8 * <!-------------------------------------------------------------------------- 9 * This file is part of libSBML. Please visit http://sbml.org for more 10 * information about SBML, and the latest version of libSBML. 11 * 12 * Copyright (C) 2020 jointly by the following organizations: 13 * 1. California Institute of Technology, Pasadena, CA, USA 14 * 2. University of Heidelberg, Heidelberg, Germany 15 * 3. University College London, London, UK 16 * 17 * Copyright (C) 2019 jointly by the following organizations: 18 * 1. California Institute of Technology, Pasadena, CA, USA 19 * 2. University of Heidelberg, Heidelberg, Germany 20 * 21 * Copyright (C) 2013-2018 jointly by the following organizations: 22 * 1. California Institute of Technology, Pasadena, CA, USA 23 * 2. EMBL European Bioinformatics Institute (EMBL-EBI), Hinxton, UK 24 * 3. University of Heidelberg, Heidelberg, Germany 25 * 26 * Copyright (C) 2009-2013 jointly by the following organizations: 27 * 1. California Institute of Technology, Pasadena, CA, USA 28 * 2. EMBL European Bioinformatics Institute (EMBL-EBI), Hinxton, UK 29 * 30 * Copyright (C) 2006-2008 by the California Institute of Technology, 31 * Pasadena, CA, USA 32 * 33 * Copyright (C) 2002-2005 jointly by the following organizations: 34 * 1. California Institute of Technology, Pasadena, CA, USA 35 * 2. Japan Science and Technology Agency, Japan 36 * 37 * This library is free software; you can redistribute it and/or modify it 38 * under the terms of the GNU Lesser General Public License as published by 39 * the Free Software Foundation. A copy of the license agreement is provided 40 * in the file named "LICENSE.txt" included with this software distribution 41 * and also available online as http://sbml.org/software/libsbml/license.html 42 * ---------------------------------------------------------------------- --> 43 * 44 * @class IdFilter 45 * @sbmlbrief{core} 46 */ 47 48 #ifndef IdFilter_h 49 #define IdFilter_h 50 51 52 #ifdef __cplusplus 53 54 #include <sbml/util/ElementFilter.h> 55 56 LIBSBML_CPP_NAMESPACE_BEGIN 57 58 class LIBSBML_EXTERN IdFilter : public ElementFilter 59 { 60 public: 61 IdFilter(); 62 63 virtual ~IdFilter(); 64 65 virtual bool filter(const SBase* element); 66 67 }; 68 69 LIBSBML_CPP_NAMESPACE_END 70 71 #endif /* __cplusplus */ 72 #endif /* IdFilter_h */ 73 /** @endcond */ 74