mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-11-04 09:13:05 +00:00 
			
		
		
		
	Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into acq_performance
This commit is contained in:
		@@ -117,6 +117,13 @@ void InMemoryConfiguration::set_property(std::string property_name, std::string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
void InMemoryConfiguration::supersede_property(std::string property_name, std::string value)
 | 
			
		||||
{
 | 
			
		||||
    properties_.erase(property_name);
 | 
			
		||||
    properties_.insert(std::make_pair(property_name, value));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
bool InMemoryConfiguration::is_present(std::string property_name)
 | 
			
		||||
{
 | 
			
		||||
    return (properties_.find(property_name) != properties_.end());
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ public:
 | 
			
		||||
    float property(std::string property_name, float default_value);
 | 
			
		||||
    double property(std::string property_name, double default_value);
 | 
			
		||||
    void set_property(std::string property_name, std::string value);
 | 
			
		||||
    void supersede_property(std::string property_name, std::string value);
 | 
			
		||||
    bool is_present(std::string property_name);
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user