Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

List< C, ID > Class Template Reference

#include <List.hpp>

List of all members.

Public Member Functions

 List (C head)
 List (C head, List *tail)
 List ()
bool isEmpty () const
bool isNonEmpty () const
Listtail () const
head () const
second () const
void head (C head)
void tail (List *tail)
void destroy ()
Listcopy () const
Listappend (List *snd)
Listcons (C elem)
Listreverse ()
int length () const
bool member (C elem)
Listremove (C elem)
nth (int N) const
ListaddLast (C elem)
Listsplit (int n, List *&rest)

Static Public Member Functions

Listempty ()
void push (C elem, List *&lst)
pop (List *&lst)
void move (List *&from, List *&to)
Listconcat (List *first, List *second)
deleteNth (List *&lst, int N)

Protected Attributes

_head
List_tail


Detailed Description

template<class C, ClassID ID>
class List< C, ID >

This software is an adaptation of the theorem prover Vampire for working with large knowledge bases in the KIF format, see http://www.prover.info for publications on Vampire.

Copyright (C) Andrei Voronkov and Alexandre Riazanov

Author:
Alexandre Riazanov <riazanov@cs.man.ac.uk>

Andrei Voronkov <voronkov@cs.man.ac.uk>, <andrei@voronkov.com>

Date:
06/06/2003
This software is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Constructor & Destructor Documentation

template<class C, ClassID ID>
List< C, ID >::List head  )  [inline]
 

template<class C, ClassID ID>
List< C, ID >::List head,
List< C, ID > *  tail
[inline]
 

template<class C, ClassID ID>
List< C, ID >::List  )  [inline]
 


Member Function Documentation

template<class C, ClassID ID>
List* List< C, ID >::addLast elem  )  [inline]
 

template<class C, ClassID ID>
List* List< C, ID >::append List< C, ID > *  snd  )  [inline]
 

template<class C, ClassID ID>
List* List< C, ID >::concat List< C, ID > *  first,
List< C, ID > *  second
[inline, static]
 

template<class C, ClassID ID>
List* List< C, ID >::cons elem  )  [inline]
 

template<class C, ClassID ID>
List* List< C, ID >::copy  )  const [inline]
 

template<class C, ClassID ID>
C List< C, ID >::deleteNth List< C, ID > *&  lst,
int  N
[inline, static]
 

template<class C, ClassID ID>
void List< C, ID >::destroy  )  [inline]
 

template<class C, ClassID ID>
List* List< C, ID >::empty  )  [inline, static]
 

template<class C, ClassID ID>
void List< C, ID >::head head  )  [inline]
 

template<class C, ClassID ID>
C List< C, ID >::head  )  const [inline]
 

template<class C, ClassID ID>
bool List< C, ID >::isEmpty  )  const [inline]
 

template<class C, ClassID ID>
bool List< C, ID >::isNonEmpty  )  const [inline]
 

template<class C, ClassID ID>
int List< C, ID >::length  )  const [inline]
 

template<class C, ClassID ID>
bool List< C, ID >::member elem  )  [inline]
 

template<class C, ClassID ID>
void List< C, ID >::move List< C, ID > *&  from,
List< C, ID > *&  to
[inline, static]
 

template<class C, ClassID ID>
C List< C, ID >::nth int  N  )  const [inline]
 

template<class C, ClassID ID>
C List< C, ID >::pop List< C, ID > *&  lst  )  [inline, static]
 

template<class C, ClassID ID>
void List< C, ID >::push elem,
List< C, ID > *&  lst
[inline, static]
 

template<class C, ClassID ID>
List* List< C, ID >::remove elem  )  [inline]
 

template<class C, ClassID ID>
List* List< C, ID >::reverse  )  [inline]
 

template<class C, ClassID ID>
C List< C, ID >::second  )  const [inline]
 

template<class C, ClassID ID>
List* List< C, ID >::split int  n,
List< C, ID > *&  rest
[inline]
 

template<class C, ClassID ID>
void List< C, ID >::tail List< C, ID > *  tail  )  [inline]
 

template<class C, ClassID ID>
List* List< C, ID >::tail  )  const [inline]
 


Member Data Documentation

template<class C, ClassID ID>
C List< C, ID >::_head [protected]
 

template<class C, ClassID ID>
List* List< C, ID >::_tail [protected]
 


The documentation for this class was generated from the following file:
Generated on Sat Jun 28 15:08:59 2003 for Vampire by doxygen 1.3.2