/usr/include/libphylo/readTree.h is in rate4site 3.0.0-5.
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 34 35 36 37 38 39 | // $Id: readTree.h 962 2006-11-07 15:13:34Z privmane $
#ifndef ___READ_TREE
#define ___READ_TREE
#include "definitions.h"
#include <iostream>
using namespace std;
#define REMARK ';'
#define MAX_LENGTH_OF_NAME 20
#define MAX_FILE_SIZE 1000000
#define FATHER 0
#define LEFT 1
#define RIGHT 2
#define OPENING_BRACE '('
#define CLOSING_BRACE ')'
#define OPENING_BRACE2 '{'
#define CLOSING_BRACE2 '}'
#define COMMA ','
#define COLON ':'
#define SEMI_COLLON ';'
#define PERIOD '.'
bool DistanceExists(vector<char>::const_iterator& p_itCurrent);
bool verifyChar(vector<char>::const_iterator &p_itCurrent, const char p_cCharToFind);
int GetNumberOfLeaves(const vector<char>& tree_contents);
int GetNumberOfInternalNodes(const vector<char>& tree_contents);
bool IsAtomicPart(const vector<char>::const_iterator p_itCurrent);
vector<char> PutTreeFileIntoVector(istream &in);
MDOUBLE getDistance(vector<char>::const_iterator &p_itCurrent);
bool DistanceExists(vector<char>::const_iterator& p_itCurrent);
void clearPosibleComment(vector<char>::const_iterator& p_itCurrent);
string readPosibleComment(vector<char>::const_iterator& p_itCurrent);
#endif
|