I try to extract dependency information via the "references" and "referencedby" elements from the generated XMLs.
Consider the following very simple class:
--- client.h ---
class Client {
public:
int pop ();
bool push (int data);
};
--- client.cpp ---
#include "client.h"
#include <XYZ>
I am expecting to see the functions Client::pop and Client::push to depend on XYZ, XYZ.insert, and XYZ.value. Is there anything I must do to the configuration file in order to see this?
Many thanks in advance for your help.
Best regards.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I try to extract dependency information via the "references" and "referencedby" elements from the generated XMLs.
Consider the following very simple class:
--- client.h ---
class Client {
public:
int pop ();
bool push (int data);
};
--- client.cpp ---
#include "client.h"
#include <XYZ>
int Client::pop () {
XYZ c;
return c.value( "test" );
}
bool Client::push (int data) {
XYZ c;
return c.insert( "test", data );
}
}
I am expecting to see the functions Client::pop and Client::push to depend on XYZ, XYZ.insert, and XYZ.value. Is there anything I must do to the configuration file in order to see this?
Many thanks in advance for your help.
Best regards.