» Home » implemented » Page 1
Is there any way to make a static method mandatory to be implemented in the implemented/derived class?
by John Tate in Programming Languages

Since, an interface doesn't encompass a static method, is there any way to make a static method mandatory to be implemented in the implemented/derived class?


If not, is there any other way to achieve this objective?


I am actually making all my database classes look like this:


class MyClass : IMyClass, IPersistant
{
public int ID {get;set}
..

Is ApplicationCache for FF/IE 10 fully implemented (or implemented correctly)?
by Bobblegate in Development Tools & Services

Issue:


Unable to get Fallback resources to get served from applicationCache (Offline cache) when the browser is set to “Work Offline”.


Environment details:


Windows 7 64-bit SP 1
IE 10 ver. 10.0.9200.16438
Firefox ver. 18.0.1
IIS ver 7.5.7600.16385
.manifest MIME Type is text/cache-manifest

Manifest details:


FALLBACK:


Is IoC typically implemented as a singleton? How is IoC implemented?
by Keeper in Programming Languages

I plan on digging into one of the open source IoC containers to really figure this out 100%, but I figured I would ask the general community also (after not being able to find a direct answer in any of the closely related questions).


As far as I understand the typical IoC implementation, it seems that it is a global class that acts as a singleton with a knowledge of all dependencie


Rspec says implemented method is not implemented
by Poland in Programming Languages

Below is an rspec test I'm running to test another class I've made. Unfortunately the method I'm trying to test (delete) does not seem to be working. What's throwing me is that the error message I'm getting from the Termianl is:


/Users/user/Ruby/localWikiClient/localwiki_client/spec/delete_spec:11:in 'block (2 levels) in <top (required)>': undefined method


Is c# ref int foo implemented as C++ int **foo?
by stlcardinals in C & C++ & C#

I was talking with a coworker about this yesterday and it got me thinking about .Net's pass by reference.


// C#
class Foo {}
static void Test(ref Foo foo) { ... };
static void Main()
{
Foo f;
Test(ref foo);
}

Has to be implemented with a double indirection because we're changing the value of the pointer. Because all

TAGS : implemented

A* implemented in C
by SpunkyJones in Development Tools & Services

Where can I find an A* implementation in C?


I was looking around but it seems my google-fu is not strong enough. I've started writing my own implementation, but then I remembered Stack Overflow and I thought I should ask here first. It seems a bit complicated to write a real A* implementation - I was tempted to just write an implementation of Dijkstra's algorithm for a binary grid,

TAGS : implemented

How is ACL implemented
by tanknique in Programming Languages

i am using Zend_Acl, PHP and is wondering how shld ACLs be implemented.


shld every page be a resource and i always query the acl to see if a user is authorized? i guess i must use this if i want to use a controller plugin (can be setup to run on every request) to check if a user is allowed?


or do i just put the query code where i need it? eg. at the top of

TAGS : implemented

How are coroutines implemented?
by Isaac in Web Design

I have a question about coroutine implementation.
I saw coroutine first on Lua and stackless-python. I could understand the concept of it, and how to use yield keyword, but I cannot figure out how it is implemented.


Can I get some explanation about them?


Not implemented yet: DSA public key
by Granville Barnett in Programming Languages

I'm writing both a server and an Android client application. The Android client sends measurements to the server. In order to ensure the data integrity, a digital signature is appended to each measurement.


Since I need everything to be Gson-compatible, storing the public key itself is not possible. I'm storing the G, P, Q and Y factors instead.


Here's a snippet from the


How are C++ casts implemented?
by in C & C++ & C#

The C++ casts static_cast, const_cast, reinterpret_cast have a template-like syntax, e.g.


long foo = 3;
int bar = static_cast<int>(foo);

I've looked in the Standard, and it says that casts are expressions, not template functions as I thought.


This left me wondering: under the hood, are these ca


Next



Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .