/usr/include/yacas/patternclass.h is in yacas 1.3.6-2+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #ifndef YACAS_PATTERNCLASS_H
#define YACAS_PATTERNCLASS_H
#include "lisptype.h"
#include "lispobject.h"
#include "genericobject.h"
#include "patterns.h"
#include "noncopyable.h"
/// Wrapper for YacasPatternPredicateBase.
/// This class allows a YacasPatternPredicateBase to be put in a
/// LispGenericObject.
class PatternClass : public GenericClass, NonCopyable
{
public:
PatternClass(YacasPatternPredicateBase* aPatternMatcher);
~PatternClass();
bool Matches(LispEnvironment& aEnvironment,
LispPtr& aArguments);
bool Matches(LispEnvironment& aEnvironment,
LispPtr* aArguments);
public: //From GenericClass
virtual const LispChar * TypeName();
protected:
YacasPatternPredicateBase* iPatternMatcher;
};
#endif
|